I always got W.A. Is there any critical I/O ?
Here's my code:
[AC, code deleted]
Search found 3 matches
- Thu Jun 17, 2004 8:34 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10602 - Editor Nottoobad
- Replies: 19
- Views: 13492
- Mon Jun 14, 2004 6:28 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10669 - Three powers
- Replies: 14
- Views: 7200
- Mon Jun 14, 2004 2:46 pm
- Forum: Volume 106 (10600-10699)
- Topic: 10669 - Three powers
- Replies: 14
- Views: 7200
10669 - Three powers
I always got WA. Here's my test i/o.
Please tell me what's wrong...
input:
1
7
14
783
1125900981634049
999999999999999999
9999999999999999999
0
output:
{ }
{ 3, 9 }
{ 1, 9, 27 }
{ 3, 9, 27, 6561, 19683 }
{ 59049, 3486784401, 205891132094649, 717897987691852588770249 }
{ 3, 9, 27, 81, 243, 729, 2187 ...
Please tell me what's wrong...
input:
1
7
14
783
1125900981634049
999999999999999999
9999999999999999999
0
output:
{ }
{ 3, 9 }
{ 1, 9, 27 }
{ 3, 9, 27, 6561, 19683 }
{ 59049, 3486784401, 205891132094649, 717897987691852588770249 }
{ 3, 9, 27, 81, 243, 729, 2187 ...