10016 - Flip-Flop the Squarelotron

All about problems in Volume 100. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Dominik Michniewski
Guru
Posts: 834
Joined: Wed May 29, 2002 4:11 pm
Location: Wroclaw, Poland
Contact:

10016 - Flip-Flop the Squarelotron

Post by Dominik Michniewski » Fri Mar 28, 2003 3:16 pm

Could anyone tell me some special cases for this problem ?
I can't find any mistake, but I got WA many times ...
Maybe someone want to read my code ? I could send it via PM ...

Best regards
Dominik

PS. But special IO should be better :)))
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)

pc5971
New poster
Posts: 34
Joined: Mon Aug 05, 2002 11:24 am
Contact:

Post by pc5971 » Sat Jun 28, 2003 7:01 pm

Maybe you already solved the problem... I solved the problem some time agoand I didn't find any special cases...

nukeu666
New poster
Posts: 44
Joined: Sun Feb 13, 2005 1:13 am
Location: India
Contact:

10016 PE?

Post by nukeu666 » Thu May 25, 2006 10:01 am

i tried to submit with both these outputs but i still get PE
what am i missing?

Code: Select all

admin@ee:~$ ./a.out <in
9 8 7
6 5 4
3 2 1
6 6 5 4
3 2 1 9
8 7 6 5
4 3 2 1
7 6 5 4 3
2 8 3 7 7
6 9 4 8 2
1 1 5 9 6
5 4 3 2 1
4 7 1 4 7 1
5 2 8 5 2 2
6 1 3 4 1 3
7 9 6 7 9 4
8 8 5 2 8 5
9 3 6 9 3 6
admin@ee:~$ g++ 10016.cpp
admin@ee:~$ ./a.out <in
987
654
321
6654
3219
8765
4321
76543
28377
69482
11596
54321
471471
528522
613413
796794
885285
936936
admin@ee:~$ g++ 10016.cpp
admin@ee:~$ ./a.out <in
987
654
321
6654
3219
8765
4321
76543
28377
69482
11596
54321
471471
528522
613413
796794
885285
936936admin@ee:~$

google

nukeu666
New poster
Posts: 44
Joined: Sun Feb 13, 2005 1:13 am
Location: India
Contact:

Post by nukeu666 » Mon Jun 05, 2006 6:11 pm

could someone post their AC output for the test input given on the problem page please
google

Dominik Michniewski
Guru
Posts: 834
Joined: Wed May 29, 2002 4:11 pm
Location: Wroclaw, Poland
Contact:

Re: 10016 - Flip-Flop the Squarelotron

Post by Dominik Michniewski » Sat Mar 19, 2011 6:16 pm

Finally I solved this problem.
I changed only one thing - instead of using "int" I used "long int" and got Accepted.
Strange :o
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10016 - Flip-Flop the Squarelotron

Post by brianfry713 » Tue Dec 03, 2013 2:54 am

That is AC code
Check input and AC output for thousands of problems on uDebug!

Post Reply

Return to “Volume 100 (10000-10099)”