QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#203230#3853. Lines in a griducup-team017#WA 181ms176284kbC++142.3kb2023-10-06 16:14:442023-10-06 16:14:44

详细

Test #1:

score: 100
Accepted
time: 125ms
memory: 176216kb

input:

10
1 2 3 4 5 6 7 8 9 10

output:

0
6
20
62
140
306
536
938
1492
2306

result:

ok 10 lines

Test #2:

score: 0
Accepted
time: 114ms
memory: 174232kb

input:

100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

output:

0
6
20
62
140
306
536
938
1492
2306
3296
4722
6460
8830
11568
14946
18900
23926
29544
36510
44388
53586
63648
75674
88948
104374
121032
139966
160636
184466
209944
239050
270588
305478
342480
383370
427020
475830
527280
583338
642900
708798
777912
854022
934604
21071
111365
209991
313609
425767
5425...

result:

ok 100 lines

Test #3:

score: -100
Wrong Answer
time: 181ms
memory: 176284kb

input:

1000
999000 999001 999002 999003 999004 999005 999006 999007 999008 999009 999010 999011 999012 999013 999014 999015 999016 999017 999018 999019 999020 999021 999022 999023 999024 999025 999026 999027 999028 999029 999030 999031 999032 999033 999034 999035 999036 999037 999038 999039 999040 999041 9...

output:

685545
483810
75745
617847
189491
93665
107560
405615
411237
785392
733222
799154
594289
20427
491295
952895
914740
304942
529605
480827
65654
934704
305067
391709
580205
603347
608178
809576
537153
875312
15851
951909
841101
646003
494431
8476
202302
389113
840086
350074
195286
537810
83009
856453
...

result:

wrong answer 1st lines differ - expected: '546070', found: '685545'