QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#352469#2103. TermityhyforcesWA 0ms3700kbC++20992b2024-03-13 11:22:222024-03-13 11:22:24

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3552kb

input:

1
0

output:

0 0

result:

ok single line: '0 0'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

2
0 17

output:

17 0

result:

ok single line: '17 0'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

3
0 13 0

output:

13 0

result:

ok single line: '13 0'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

8
1 2 0 3 7 4 0 9

output:

17 9

result:

ok single line: '17 9'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

10
0 0 0 1 0 0 0 5 0 0

output:

5 1

result:

ok single line: '5 1'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3552kb

input:

24
55 33 93 169 237 0 219 125 39 13 96 166 200 278 0 99 2 18 110 0 58 57 0 42

output:

1125 984

result:

ok single line: '1125 984'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

17
805750847 0 100661314 433925858 0 84353896 0 0 998898815 548233368 610515435 585990365 374344044 760313751 477171088 356426809 945117277

output:

4023568786 3058134081

result:

ok single line: '4023568786 3058134081'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

19
0 294702568 726956430 336465783 861021531 278722863 233665124 145174068 468703136 101513930 801979803 315634023 635723059 369133070 0 59961394 89018457 628175012 656478043

output:

2586842805 4416185489

result:

ok single line: '2586842805 4416185489'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3700kb

input:

21
859484422 914544920 608413785 756898538 734575199 0 149798316 38664371 129566414 184803527 412776092 424268981 0 749241874 137806863 42999171 982906997 0 511702306 84420926 937477085

output:

4059679871 4600669916

result:

ok single line: '4059679871 4600669916'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

20
804289384 846930887 681692778 714636916 957747794 424238336 719885387 649760493 596516650 189641422 25202363 0 783368691 102520060 44897764 967513927 365180541 540383427 304089173 303455737

output:

6380056138 3641895592

result:

ok single line: '6380056138 3641895592'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

67
690 445 620 441 730 32 118 98 772 482 676 710 928 568 857 0 498 354 587 966 307 684 220 625 529 872 733 830 504 0 20 271 369 709 716 341 150 797 724 619 246 847 452 922 556 380 489 0 765 229 842 351 194 501 35 765 125 915 988 857 744 492 228 366 860 937 433

output:

17181 17930

result:

ok single line: '17181 17930'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

136
991 304 34 364 498 254 893 687 126 153 997 976 189 158 730 437 461 415 922 461 305 29 28 51 749 557 903 795 698 700 44 40 3 429 404 501 682 648 539 160 152 536 135 340 693 216 128 505 630 50 965 286 430 344 336 178 901 239 972 950 290 368 989 293 0 796 744 145 830 391 683 341 542 570 827 233 262...

output:

30192 32764

result:

ok single line: '30192 32764'

Test #13:

score: -100
Wrong Answer
time: 0ms
memory: 3596kb

input:

141
1872 1860 1773 1755 1676 1620 1575 1568 1532 1490 1414 1330 1240 1200 1116 1050 1024 929 839 771 758 685 626 530 431 350 251 188 128 34 73 132 141 177 187 229 316 322 323 336 408 429 484 503 602 623 627 666 677 717 784 789 817 844 894 978 1036 1056 1080 1102 1171 1267 1348 1378 1462 1554 1626 16...

output:

66233 66152

result:

wrong answer 1st lines differ - expected: '66031 66354', found: '66233 66152'