QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#208671#2114. Koszulki [C]qsceszthn0 1ms7972kbC++14771b2023-10-09 19:54:572023-10-09 19:54:58

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 7668kb

input:

5 3
75 90 120 75 40

output:

0

result:

wrong answer 1st lines differ - expected: '4', found: '0'

Subtask #2:

score: 0
Wrong Answer

Test #15:

score: 1
Accepted
time: 1ms
memory: 7968kb

input:

30 9
118 51 23 28 103 65 51 65 26 28 65 65 65 83 59 65 28 79 26 65 65 28 65 26 28 51 65 51 31 31

output:

14

result:

ok single line: '14'

Test #16:

score: -1
Wrong Answer
time: 1ms
memory: 5624kb

input:

30 9
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20

output:

-1

result:

wrong answer 1st lines differ - expected: '30', found: '-1'

Subtask #3:

score: 0
Wrong Answer

Test #26:

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

input:

28 1
77 12 114 115 120 82 20 40 114 66 114 115 90 20 77 114 120 90 90 12 114 90 114 120 114 114 90 90

output:

0

result:

wrong answer 1st lines differ - expected: '3', found: '0'

Subtask #4:

score: 0
Wrong Answer

Test #36:

score: 0
Wrong Answer
time: 1ms
memory: 7680kb

input:

2000 1
94 1 109 13 24 91 71 83 72 57 2 63 31 40 19 70 8 102 105 2 70 44 41 27 5 79 89 95 40 38 29 48 23 19 53 28 25 15 86 111 99 88 51 58 87 89 12 41 58 56 99 38 80 11 60 20 73 62 98 79 21 47 102 63 102 60 111 56 107 119 54 79 91 2 94 21 5 41 27 36 88 33 4 90 77 61 33 36 119 27 94 6 53 31 85 41 65 1...

output:

0

result:

wrong answer 1st lines differ - expected: '15', found: '0'

Subtask #5:

score: 0
Wrong Answer

Test #46:

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

input:

1998 1
69 58 2 71 23 2 51 58 2 23 65 23 71 58 2 2 116 2 71 2 71 69 71 2 71 69 23 62 105 40 45 69 75 2 71 17 2 65 69 71 75 2 2 2 69 7 105 71 45 71 63 63 69 23 23 2 69 79 71 71 65 71 71 65 41 71 2 106 71 45 69 65 69 120 24 106 105 71 71 71 88 11 2 71 71 71 71 75 2 71 65 2 75 71 2 17 71 120 71 71 23 2 ...

output:

0

result:

wrong answer 1st lines differ - expected: '32', found: '0'

Subtask #6:

score: 0
Wrong Answer

Test #56:

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

input:

1424 197
4 78 49 78 78 36 78 78 60 78 52 78 22 78 78 78 36 78 22 78 49 36 78 36 78 60 78 60 49 96 78 36 78 78 78 4 78 22 78 49 78 60 49 60 78 5 78 49 52 49 78 78 78 36 36 60 49 78 49 49 78 36 78 78 49 78 78 36 96 9 5 36 78 78 5 78 52 78 78 67 78 49 4 78 36 36 23 78 36 5 22 78 78 9 36 60 78 78 4 36 7...

output:

-1

result:

wrong answer 1st lines differ - expected: '646', found: '-1'

Subtask #7:

score: 0
Wrong Answer

Test #68:

score: 0
Wrong Answer
time: 1ms
memory: 7676kb

input:

2000 1054
90 62 104 24 79 18 4 94 120 117 44 117 108 34 38 95 70 2 54 80 53 68 73 105 41 64 103 64 39 115 35 91 116 31 42 13 84 47 99 6 2 99 56 22 89 54 25 24 61 119 80 87 48 102 53 120 45 86 84 90 66 49 85 75 111 64 50 85 37 80 54 79 85 7 97 95 35 16 69 119 28 77 25 117 117 36 63 92 113 46 71 61 24...

output:

-1

result:

wrong answer 1st lines differ - expected: '1056', found: '-1'

Subtask #8:

score: 0
Wrong Answer

Test #80:

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

input:

2000 4
119 76 86 104 90 53 92 50 113 92 32 66 33 85 36 69 110 58 71 4 10 56 118 69 40 12 115 17 11 83 71 41 103 31 3 22 75 5 46 60 64 20 3 56 95 99 29 23 28 106 30 90 34 50 42 80 96 83 24 72 28 26 14 9 1 39 57 62 88 19 87 84 93 104 1 83 63 68 119 18 113 110 75 24 81 18 93 33 112 77 119 79 34 79 94 7...

output:

0

result:

wrong answer 1st lines differ - expected: '21', found: '0'

Subtask #9:

score: 0
Wrong Answer

Test #92:

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

input:

1998 1063
86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86 86...

output:

-1

result:

wrong answer 1st lines differ - expected: '1998', found: '-1'

Subtask #10:

score: 0
Wrong Answer

Test #103:

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

input:

2000 1999
31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31...

output:

-1

result:

wrong answer 1st lines differ - expected: '2000', found: '-1'