QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#561847#7471. ODTyoy6810 1351ms243280kbC++143.2kb2024-09-13 11:32:462024-09-13 11:32:47

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 57064kb

input:

1000 1000
1221 8 716 661 1605 113 161 1921 1921 1039 676 615 1921 1165 477 1054 743 1851 87 797 1321 573 1517 1052 1232 1192 1881 1869 1141 5 1659 727 219 651 129 1178 1743 1729 1782 545 1731 178 1942 1769 1769 621 1201 826 711 1161 1026 735 943 1311 1055 1426 1559 1471 1841 1296 509 1353 481 664 18...

output:

1087
1789
708
779
-907
17
1399
111
628
1245
63
1246
1417
40
1266
1329
88
399
1041
1276
959
1262
-1985
278
675
1346
251
1721
427
1773
1385
797
3958
3471
1937
481
1080
14547
817
1521
755
1065
1236
493
2599
-48
533
1619
1161
561
2041
-1167
696
-1601
1709
696
404
3792
233
1
2410
251
-4490
3841
1449
49
9...

result:

wrong answer 5th numbers differ - expected: '1301', found: '-907'

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 404ms
memory: 243280kb

input:

1000000 1000000
301 421 1239 745 826 589 1490 655 119 177 1777 721 1473 834 1592 1519 441 1235 623 1633 1910 1649 565 466 934 221 109 1834 481 1341 1069 1141 1201 176 1868 1841 561 1679 1841 1610 1627 1173 1941 541 163 253 641 1575 1251 1747 715 377 911 711 816 1002 1984 301 1516 1205 1907 1445 1898...

output:

1871
375
1770
2286
4098
1062
3143
1137
834
995
5633
362
5836
298
7501
4586
1754
5970
2687
13269
9842
11461
6170
14192
12539
15684
593
418
16611
13241
4243
4961
14837
12826
16861
17471
17922
18988
18681
23561
10825
20318
21794
20065
28739
28908
15346
24298
8784
31565
27055
24886
22647
9570
23800
1296...

result:

ok 497095 numbers

Subtask #3:

score: 0
Wrong Answer

Test #3:

score: 0
Wrong Answer
time: 1351ms
memory: 56824kb

input:

100000 100000
195 519 1801 1577 1605 921 1321 1775 1881 1123 1614 1181 572 1925 1090 1971 641 1520 1447 1114 1136 633 361 926 1055 1358 1841 929 997 1837 363 897 467 1941 1672 1696 1321 1305 433 689 983 1337 81 477 528 1185 1931 1196 1841 524 90 1615 1105 525 1837 981 901 915 647 1347 145 73 1993 16...

output:

47
1793
441
1611
1533
1878
241
1667
93
697
309
1565
505
844
861
1093
251
185
449
521
1453
879
1792
871
501
1671
1725
126
1949
801
883
1611
1522
6160
1051
1186
1639
535
1985
501
79
1033
405
1279
1819
12232
1362
1826
250
1752
161
869
12147
1246
1824
1131
1490
161
1681
707
939
297
1694
563
944
1661
100...

result:

wrong answer 658th numbers differ - expected: '28542', found: '27793'

Subtask #4:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 182ms
memory: 122020kb

input:

400000 400000
1950 1675 954 1029 337 85 637 1199 982 1301 1601 1266 1627 1455 1055 792 1501 623 1203 499 315 181 571 639 1101 945 1665 653 853 161 826 771 301 353 1881 1121 555 1751 465 1875 381 1993 373 66 401 886 461 417 113 161 572 245 1449 1984 821 1321 1658 932 779 473 1515 1656 1634 1501 400 4...

output:

1524
1930
361
2804
3698
2403
545
1101
2784
609
6687
793
1367
2234
493
8557
2720
6006
9681
804
1286
1786
51
889
229
521
1797
1669
3427
397
3459
1911
9882
243
22597
1267
22474
20149
18288
23985
25213
1320
3829
1521
17
1942
25319
1377
1502
683
21974
333
10380
1605
1914
16443
1501
22645
726
10068
24412
...

result:

wrong answer 227th numbers differ - expected: '1674', found: '741'

Subtask #5:

score: 0
Time Limit Exceeded

Test #10:

score: 0
Time Limit Exceeded

input:

1000000 1000000
642 1185 1426 673 276 1001 1041 967 1078 1853 1236 1677 1681 289 591 389 525 1756 1257 756 549 1070 1331 1177 1335 401 927 1301 43 1061 693 1429 1901 949 871 1251 1608 371 1899 1781 837 1181 381 971 421 1857 1735 377 961 11 285 661 835 478 751 126 1502 993 426 1809 221 630 1581 791 1...

output:

1165
1825
1777
1123
61
915
619
1059
448
1587
1025
773
1302
999
753
1793
1473
295
1516
81
595
887
1108
445
673
1005
1766
1509
1601
1596
356
1316
1123
412
879
945
1119
625
831
1457
1290
1025
1445
1345
1038
1776
1996
1921
705
1965
1811
1057
1145
751
801
1735
513
1259
1232
1288
178
601
537
985
1580
509
...

result: