QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189736#7055. A Hard Problemnew_dawn_2#WA 13ms3808kbC++203.4kb2023-09-27 20:33:382023-09-27 20:33:40

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3640kb

input:

4
2
3
4
5

output:

2
3
3
4

result:

ok 4 lines

Test #2:

score: -100
Wrong Answer
time: 13ms
memory: 3808kb

input:

100000
6
18
54
162
486
1458
4374
13122
39366
118098
354294
1062882
3188646
9565938
28697814
86093442
258280326
774840978
324522916
973568748
920706226
762118660
286355962
859067886
577203640
731610911
194832715
584498145
753494426
260483260
781449780
344349322
33047957
99143871
297431613
892294839
6...

output:

4
9
27
81
243
729
2187
6561
19683
59049
177147
531441
1594323
4782969
14348907
43046721
129140163
387420489
162261458
486784374
460353113
381059330
143177981
429533943
288601820
365805456
97416358
292249073
376747213
130241630
390724890
172174661
16523979
49571936
148715807
446147420
338442250
15326...

result:

wrong answer 2nd lines differ - expected: '10', found: '9'