QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#226849#7532. Inspection (32 MB ML!)ucup-team1881WA 2ms10192kbC++202.1kb2023-10-26 17:14:502023-10-26 17:14:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5568kb

input:

20 2 3 3 2
2 0 2 0 1 2 1 2 1 2 2 2 1 1 2 2 2 1 2 2

output:

22
4 6
6 8
9 12
14 17
18 20

result:

ok Sum = 22

Test #2:

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

input:

25 1 5 1 10
30 8 87 61 66 75 86 3 14 23 56 36 60 23 32 65 49 61 11 50 98 91 36 12 85

output:

933
2 7
15 25

result:

ok Sum = 933

Test #3:

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

input:

50 3 3 3 5
19 54 97 19 24 82 0 57 88 32 95 62 60 52 75 21 73 38 11 29 98 8 39 76 94 90 63 81 48 55 64 34 28 27 72 73 70 28 75 76 84 14 15 29 82 46 36 55 47 83

output:

1659
1 6
10 15
23 28
34 37
38 41
47 50

result:

ok Sum = 1659

Test #4:

score: -100
Wrong Answer
time: 2ms
memory: 10192kb

input:

100 20 1 25 2
980 361 796 376 660 459 30 116 265 564 904 831 111 427 376 848 291 126 983 411 272 596 53 757 459 340 901 182 263 595 548 471 699 450 117 63 383 17 45 967 406 858 72 212 356 598 757 70 658 310 424 100 772 505 767 239 368 793 557 574 103 175 213 313 366 24 444 690 599 106 881 224 737 46...

output:

40914
0 2
2 4
4 6
8 10
10 12
13 15
15 17
18 20
20 22
23 25
25 27
28 30
30 32
32 34
39 41
41 43
43 45
45 47
48 50
52 53
53 55
55 56
56 58
58 60
63 65
66 67
68 69
70 72
72 73
73 74
77 79
79 80
82 83
83 84
84 85
86 87
87 88
88 89
90 91
91 92
92 93
93 94
94 95
97 98
99 100

result:

wrong answer The presented sum 40914 does not match the actual sum 39582