ENG  RUS Timus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

## Обсуждение задачи 1433. Тетраэдры

Can anybody explain me, WHY FUCKIN CRASH(STACK OVERFLOW)??????
Послано Roma Labish[Lviv NU] 23 дек 2006 00:30
[code deleted]

Edited by author 23.12.2006 01:27
Re: Can anybody explain me, WHY FUCKIN CRASH(STACK OVERFLOW)??????
Послано Ostap Korkuna (Lviv NU) 23 дек 2006 01:14
TRY THIS FUCKIN TEST:
RRRR
BBBB

Re: Can anybody explain me, WHY FUCKIN CRASH(STACK OVERFLOW)??????
Послано Metallllllll 23 дек 2006 01:22
Hmm... Thank's... (З мене пиво:))
Re:
Послано Ostap Korkuna (Lviv NU) 23 дек 2006 01:37
;-)
Re:
Послано Roma Labish[Lviv NU] 23 дек 2006 01:48
Two beers, if you tell me, why fuckin:) WA6...

Edited by author 23.12.2006 01:49
Re:
Послано Ostap Korkuna (Lviv NU) 23 дек 2006 01:49
I don't know what you changed in your source...
Re:
Послано Roma Labish[Lviv NU] 23 дек 2006 01:57
I added the function, that calculate number of faces in both Diamonds:

[code deleted]

Edited by author 23.12.2006 02:36
Re:
Послано Ostap Korkuna (Lviv NU) 23 дек 2006 02:25
Test for you:
RGYB
RBYG

I suggest you to make a diamond from paper and check all your rotating procedures. Some of them (at least two: back & full_rotate) are incorrect...

Hint (solution :-) ): you have to rotate the first diamond with all possible ways (there are only 12 ways) and every time check if it is equal to second one.
Re:
Послано Roma Labish[Lviv NU] 23 дек 2006 02:35
2x0.5 or 1.00 litr? Maybe, it will tomorrow:)
Re:
Послано Ostap Korkuna (Lviv NU) 23 дек 2006 02:48
I don't drink beer before the contest. And after the contest I will be drinking vodka! :-)
Re:
Послано Roma Labish[Lviv NU] 23 дек 2006 03:16
Vodka is good, but beer it's beer. In beer we beer-beer
Re:
Послано Roma Labish[Lviv NU] 24 дек 2006 00:42
I'm going crazy.I've remade my program in that way, what you tell me, but Now I have WA13...:((

Edited by author 24.12.2006 00:45
My solution :)
Послано Assassin 21 сен 2007 22:02
function q(a,b,c,d,e,f,g,h:char):boolean;
begin
if ((e=a) and (f=b) and (g=c) and (h=d)) or
.............
{всевозможные перестановки граней 1-го тетраэдра}
.............
or ((e=d) and (f=a) and (g=c) and (h=b))
then q:=true else q:=false;
end;
var a,b,c,d,e,f,g,h:char; x,y:string[4];
begin