QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#483736#1805. Bunch of PaperqsceszthnWA 12ms4212kbC++142.0kb2024-07-19 11:14:112024-07-19 11:14:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 2
2 4
1 5

output:

2

result:

ok answer is '2'

Test #2:

score: 0
Accepted
time: 1ms
memory: 4088kb

input:

2 3
4 5 6
1 2 3

output:

0

result:

ok answer is '0'

Test #3:

score: 0
Accepted
time: 1ms
memory: 4100kb

input:

20 20
2 8 12 17 19 29 41 53 57 62 63 65 67 70 71 74 76 77 96 100
2 3 9 13 15 16 20 26 28 33 38 39 46 51 58 59 74 92 93 99
2 5 6 9 19 20 22 24 26 35 41 45 56 60 62 74 76 81 83 96
3 7 10 11 13 15 17 20 22 26 34 35 43 59 68 78 82 83 85 93
1 7 11 14 17 26 37 41 45 49 62 63 64 67 71 74 88 89 91 94
12 15 ...

output:

188926982

result:

ok answer is '188926982'

Test #4:

score: -100
Wrong Answer
time: 12ms
memory: 4212kb

input:

22 4575
357111 512738 907585 992747 1020767 1475752 1511599 1845743 2038200 2136464 2259444 2319582 2379052 2552146 2618540 2671770 2861814 3011069 3078663 3235215 3434184 3659712 3669949 4139002 4157133 4394350 4533047 4675889 5404911 5473089 5527137 5715859 5864425 5953471 6099738 6307489 6342541 ...

output:

0

result:

wrong answer expected '546103424', found '0'