QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#120109 | #2616. Attack Order | MaMengQi | WA | 444ms | 3636kb | C++17 | 2.1kb | 2023-07-06 13:44:06 | 2023-07-06 13:44:21 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3624kb
input:
3 2 15 25 10 5 3 7 0 7 3 10 0 3 10 10 20 20 30 30
output:
Yes Yes No
result:
ok 3 token(s): yes count is 2, no count is 1
Test #2:
score: 0
Accepted
time: 172ms
memory: 3420kb
input:
1000 4 0 1 0 2 2 2 0 0 4 2 2 1 1 1 1 0 0 4 2 1 1 2 1 0 2 1 3 2 1 1 0 1 1 4 2 0 2 2 1 2 1 2 3 1 0 3 0 0 3 4 1 1 1 0 1 2 1 2 2 1 2 3 1 4 1 2 1 0 2 0 0 2 2 3 3 0 2 4 2 0 1 0 2 1 0 1 3 1 1 1 0 0 3 4 1 1 2 1 0 2 1 1 4 1 2 2 2 1 0 2 1 4 0 0 1 0 0 1 0 1 3 0 1 2 3 0 0 3 3 1 3 2 1 1 4 1 0 0 0 1 1 2 1 4 2 1 1...
output:
No No No No No No No Yes No Yes No No No No No No No No No No No No No No No No No Yes No No Yes No No Yes No No No No No No No No No No No No No No No No No No No No Yes No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No...
result:
ok 1000 token(s): yes count is 76, no count is 924
Test #3:
score: 0
Accepted
time: 178ms
memory: 3420kb
input:
1000 4 0 0 2 0 2 2 2 2 4 2 2 2 2 1 0 1 1 2 0 2 1 3 4 1 0 1 0 0 1 0 1 4 2 2 0 1 1 2 2 1 3 2 0 0 2 1 1 4 0 2 2 0 2 0 1 1 4 0 2 1 2 0 1 0 0 4 0 2 1 1 1 0 0 0 4 2 2 0 1 0 1 1 1 4 2 0 0 1 0 1 2 2 3 1 2 2 0 0 1 4 0 2 2 1 2 0 2 0 4 2 2 2 0 1 2 0 1 4 1 0 2 0 2 0 0 0 3 0 1 1 3 3 0 4 0 1 1 2 1 2 2 1 4 2 1 2 1...
output:
No No Yes No No No No No No No No No No No Yes No No No No No No No No No No Yes No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No Yes No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No Ye...
result:
ok 1000 token(s): yes count is 69, no count is 931
Test #4:
score: 0
Accepted
time: 177ms
memory: 3524kb
input:
1000 4 1 0 2 2 1 0 0 0 3 2 0 2 0 2 3 3 2 1 3 1 2 0 3 1 3 3 0 1 3 4 1 2 0 0 1 0 2 1 3 1 1 3 2 1 2 4 0 0 2 1 1 0 1 2 4 1 0 2 0 1 2 2 1 4 0 1 1 2 2 0 1 2 4 1 2 1 0 1 2 1 1 3 1 1 1 1 2 3 4 2 1 1 2 2 0 1 0 3 2 1 3 2 2 2 4 2 1 0 1 0 2 0 1 4 0 2 1 2 2 0 2 2 4 2 0 2 0 0 2 0 1 4 2 1 0 0 1 2 0 1 4 2 2 1 1 1 1...
output:
No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No Yes No No No Yes No Yes No No No No No No No No No No No No No No No No No No No No No Yes ...
result:
ok 1000 token(s): yes count is 71, no count is 929
Test #5:
score: 0
Accepted
time: 177ms
memory: 3524kb
input:
1000 3 0 3 3 0 2 0 4 2 0 2 2 2 1 0 1 4 0 0 0 2 1 1 2 1 4 2 1 2 2 2 1 1 0 3 1 3 3 0 3 1 4 0 2 0 2 1 0 0 1 4 0 0 0 1 0 2 2 2 3 1 3 3 3 3 0 4 0 1 1 2 1 1 1 2 4 0 1 0 1 0 2 0 0 4 2 2 2 2 1 2 0 1 3 1 2 0 2 0 2 4 0 2 2 2 1 2 1 2 3 3 0 0 1 0 2 4 2 1 0 0 1 1 1 1 3 0 3 3 0 0 2 3 0 3 1 2 2 2 4 2 0 2 0 1 0 1 1...
output:
No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No Yes No No No No No Yes No No No No No No Yes No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No Yes No No No No Yes No No No...
result:
ok 1000 token(s): yes count is 66, no count is 934
Test #6:
score: 0
Accepted
time: 177ms
memory: 3556kb
input:
1000 4 0 2 1 0 0 0 1 1 4 2 1 2 0 0 1 1 0 4 2 0 0 1 0 2 0 2 4 0 0 0 2 2 2 1 2 3 2 3 2 0 1 1 4 0 2 2 2 0 1 0 0 3 2 2 0 1 3 3 3 1 3 1 0 0 3 3 2 1 2 2 2 3 3 2 2 1 2 3 0 4 2 1 2 2 1 2 0 1 4 0 1 1 2 2 2 2 2 4 2 1 0 0 2 1 2 2 3 2 2 3 1 3 1 3 2 3 2 0 3 3 3 1 0 2 0 1 3 3 1 2 2 0 2 1 3 3 3 3 3 2 0 3 1 0 0 1 0...
output:
No No No No No No No No No No No No No No No No No No Yes Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No Yes No No No No No No No No No No No No No No No No No No No No No No No Yes Yes No No No No No Yes No No No No No No No No No No No...
result:
ok 1000 token(s): yes count is 62, no count is 938
Test #7:
score: 0
Accepted
time: 176ms
memory: 3576kb
input:
1000 3 3 1 3 2 2 2 3 2 0 0 3 2 2 4 1 1 1 2 0 2 2 0 4 0 0 1 0 1 1 2 0 4 1 0 1 1 2 0 1 1 4 1 2 2 0 2 1 0 2 2 3 3 0 0 4 0 2 0 2 2 0 0 1 4 0 0 1 2 2 2 1 2 4 0 0 2 1 0 0 2 1 3 0 0 0 0 1 1 3 1 1 2 1 0 2 4 1 2 1 0 1 2 2 1 2 2 3 0 0 3 2 3 1 3 1 2 3 0 3 2 1 1 3 3 2 3 0 0 3 3 4 0 2 0 2 1 0 1 0 4 2 2 0 2 1 1 2...
output:
No No No Yes No No Yes No No No No No No Yes No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No Yes No No No Yes No No Ye...
result:
ok 1000 token(s): yes count is 64, no count is 936
Test #8:
score: 0
Accepted
time: 179ms
memory: 3496kb
input:
1000 4 1 2 2 1 0 2 2 0 4 0 0 1 0 0 2 1 2 4 2 1 1 1 0 0 0 0 3 1 3 0 2 0 0 4 1 2 2 0 0 2 2 1 3 1 3 3 1 0 0 4 1 1 1 2 0 2 0 2 3 0 1 3 0 3 3 4 0 0 0 2 0 0 1 0 3 2 3 0 1 0 0 3 0 0 2 1 0 3 3 2 0 2 2 3 2 4 0 2 1 0 1 1 2 0 3 2 3 1 2 3 0 3 1 1 1 0 3 0 4 1 2 2 1 1 1 0 1 4 2 0 0 0 1 2 1 1 3 0 0 0 1 3 3 4 2 0 0...
output:
No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No N...
result:
ok 1000 token(s): yes count is 49, no count is 951
Test #9:
score: 0
Accepted
time: 175ms
memory: 3524kb
input:
1000 4 1 2 1 2 1 0 1 2 4 2 1 2 0 1 0 2 0 4 0 2 0 1 1 2 2 2 3 3 3 2 2 0 0 4 0 2 2 1 0 1 1 1 4 0 0 1 0 1 1 1 0 3 2 2 3 3 1 2 4 2 1 1 2 1 1 2 1 3 3 2 1 3 2 2 3 2 3 2 3 3 3 4 1 0 0 2 0 2 2 0 3 2 2 1 2 2 2 4 0 2 0 1 0 2 1 1 4 0 0 1 1 1 1 0 1 2 0 3 1 3 3 1 3 1 3 1 1 4 1 0 0 1 1 1 1 1 4 2 0 0 2 1 0 1 0 3 2...
output:
No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No...
result:
ok 1000 token(s): yes count is 74, no count is 926
Test #10:
score: 0
Accepted
time: 175ms
memory: 3508kb
input:
1000 4 2 2 1 0 2 0 0 2 3 3 3 1 2 2 0 4 1 1 0 1 1 1 2 1 4 2 1 2 0 0 1 1 2 3 1 3 3 0 3 2 3 3 3 1 1 0 3 3 3 2 1 0 2 3 4 0 0 1 1 1 2 0 1 3 1 2 2 2 2 1 3 2 2 2 0 3 2 4 0 2 1 2 0 0 2 2 4 2 2 0 0 1 2 1 0 4 0 0 0 2 1 1 1 2 4 1 0 2 1 0 2 2 0 4 1 1 0 1 0 1 0 1 4 1 0 0 0 2 2 0 0 4 1 2 1 1 0 2 1 2 3 1 3 2 2 3 0...
output:
No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No Yes No Yes No No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No Yes Yes No No No No No No No No No No No ...
result:
ok 1000 token(s): yes count is 72, no count is 928
Test #11:
score: 0
Accepted
time: 179ms
memory: 3416kb
input:
1000 4 2 2 0 2 0 0 2 1 4 0 2 1 2 0 1 1 1 4 2 1 0 1 1 2 0 2 3 0 3 3 0 3 3 4 2 1 0 1 2 0 0 2 3 0 3 2 2 0 0 3 1 2 2 0 3 3 4 1 2 1 0 1 0 0 0 4 2 0 1 1 1 1 1 0 4 2 1 0 0 1 0 1 0 4 2 1 1 1 2 1 1 2 4 2 0 2 1 1 1 2 1 4 0 1 0 0 0 1 2 0 3 0 2 3 2 1 0 3 1 3 3 1 1 3 4 2 1 0 0 0 2 0 0 3 0 3 0 3 0 3 4 1 2 2 0 1 2...
output:
No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No Yes No No Yes No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No N...
result:
ok 1000 token(s): yes count is 63, no count is 937
Test #12:
score: 0
Accepted
time: 162ms
memory: 3452kb
input:
913 3 3 0 3 3 1 3 4 0 1 1 0 0 2 2 1 4 0 0 1 0 0 0 1 0 3 3 0 0 2 0 0 4 2 1 2 0 0 2 1 2 3 1 1 3 0 2 1 2 1 3 2 2 3 2 0 3 2 2 3 4 2 1 1 2 1 0 1 1 4 2 0 0 0 2 2 0 0 4 0 2 2 0 0 2 0 2 4 2 0 2 0 2 1 0 0 3 1 2 1 3 0 2 4 0 2 2 2 0 1 1 1 4 0 0 1 2 1 2 1 1 3 1 1 2 2 2 1 4 1 1 0 0 2 0 2 2 4 0 1 0 0 2 0 1 0 4 0 ...
output:
No No Yes Yes No Yes Yes No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No Yes Yes No No Yes No Yes No No No No No No No Yes No No No...
result:
ok 913 token(s): yes count is 59, no count is 854
Test #13:
score: 0
Accepted
time: 2ms
memory: 3528kb
input:
1000 2 795931 68457 13935 87141 2 392502 111862 740305 103266 2 279708 57550 654004 111656 2 415971 83806 651506 103210 2 423040 45883 299247 68670 2 818615 87380 296937 122950 2 857597 50391 169797 38042 2 576414 17831 830154 22711 2 147402 47612 689396 117845 2 837094 11076 625788 93719 2 123006 4...
output:
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes ...
result:
ok 1000 token(s): yes count is 1000, no count is 0
Test #14:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
1000 2 273761 58844 961270 122704 2 511800 116029 772831 71980 2 433136 91170 62205 66199 2 941820 88835 472877 31789 2 894675 7121 436759 53495 2 479306 65846 439337 73849 2 586887 37787 544624 40195 2 309024 107579 436946 23111 2 296451 32724 70433 33356 2 517919 12310 311936 75933 2 336544 47123 ...
output:
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes ...
result:
ok 1000 token(s): yes count is 1000, no count is 0
Test #15:
score: 0
Accepted
time: 55ms
memory: 3560kb
input:
1000 4 925105 11227 868983 2141 559073 3702 432323 2352 4 825794 4212 120436 9466 386480 9094 101029 455 4 486667 4690 630250 7848 205567 8978 967105 9803 4 333737 1105 117626 8102 474387 10308 444186 450 4 178442 7647 494091 2197 621855 6708 200363 2865 4 674296 4331 888796 15155 302593 4905 878597...
output:
Yes No Yes Yes Yes No No Yes Yes Yes Yes Yes Yes No Yes No No Yes Yes Yes No Yes Yes No Yes Yes Yes No Yes No Yes No No Yes Yes Yes Yes No Yes No Yes Yes Yes Yes No No Yes Yes Yes No Yes Yes Yes No Yes Yes Yes No Yes Yes Yes Yes Yes No Yes Yes No Yes Yes Yes No Yes Yes No Yes Yes Yes Yes Yes Yes Yes...
result:
ok 1000 token(s): yes count is 766, no count is 234
Test #16:
score: 0
Accepted
time: 61ms
memory: 3580kb
input:
1000 4 133036 4762 762562 3962 447674 14138 997910 6145 4 559928 9851 620993 591 711020 4198 327615 2132 4 17002 1825 444002 2829 532186 4855 227835 834 4 672517 6601 816497 2813 877374 5420 431518 4249 4 208597 11510 215587 12740 122712 728 742712 15270 4 806109 6216 721926 8854 167802 12770 600404...
output:
Yes Yes Yes Yes No Yes Yes Yes No Yes Yes No No Yes Yes Yes No Yes Yes Yes Yes Yes Yes No Yes Yes No Yes Yes Yes Yes Yes No Yes No Yes Yes Yes Yes Yes Yes No No Yes Yes Yes No Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes...
result:
ok 1000 token(s): yes count is 740, no count is 260
Test #17:
score: -100
Wrong Answer
time: 444ms
memory: 3424kb
input:
1000 8 871902 345 838461 731 891751 1487 669933 76 138665 630 793974 1429 226687 865 285553 284 8 124276 553 32304 1394 154783 788 717368 789 796378 753 460221 95 247741 1776 570054 1062 8 884097 700 991250 1728 610090 167 395539 281 273900 137 647502 1520 35754 729 666300 367 8 354067 768 935603 18...
output:
No No Yes No No No No No No No No No Yes No No No No Yes No No No Yes No Yes No No No No No No No No No No No No No No No No No No No No Yes No No No No No No No No No No No No No No No No No No No No No No No No Yes Yes No No No No No No Yes No No No No No No No No No No No No No No No Yes Yes No N...
result:
wrong answer expected YES, found NO [1st token]