QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#432494#2572. Box Packingyoy68WA 2ms10036kbC++172.1kb2024-06-07 08:49:412024-06-07 08:49:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 10024kb

input:

4 1
2 2
4 2
3 4
5 5

output:

3

result:

ok 1 number(s): "3"

Test #2:

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

input:

4 2
2 2
4 2
3 4
5 5

output:

4

result:

ok 1 number(s): "4"

Test #3:

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

input:

10 2
8 12
15 5
13 19
11 5
2 13
13 12
5 6
8 6
14 2
16 3

output:

7

result:

ok 1 number(s): "7"

Test #4:

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

input:

10 2
16 4
2 5
11 16
15 5
6 12
2 1
9 16
9 10
12 11
11 17

output:

8

result:

ok 1 number(s): "8"

Test #5:

score: 0
Accepted
time: 2ms
memory: 9920kb

input:

10 2
1 6
17 9
14 19
11 14
10 17
16 1
6 13
10 13
2 2
9 7

output:

8

result:

ok 1 number(s): "8"

Test #6:

score: 0
Accepted
time: 2ms
memory: 9900kb

input:

10 2
4 20
17 11
2 10
18 10
7 14
17 5
16 2
3 16
6 6
9 18

output:

6

result:

ok 1 number(s): "6"

Test #7:

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

input:

10 5
2 5
6 18
5 13
8 13
7 10
19 3
14 20
12 5
1 7
18 18

output:

10

result:

ok 1 number(s): "10"

Test #8:

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

input:

10 5
2 9
3 1
6 17
12 19
20 15
4 14
14 19
18 15
7 20
20 12

output:

10

result:

ok 1 number(s): "10"

Test #9:

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

input:

10 5
10 7
15 2
19 15
10 18
19 17
6 5
11 9
13 3
4 20
11 16

output:

10

result:

ok 1 number(s): "10"

Test #10:

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

input:

10 5
4 6
17 17
13 11
17 12
4 3
11 18
20 5
10 9
8 9
4 1

output:

10

result:

ok 1 number(s): "10"

Test #11:

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

input:

10 2
7 2
2 6
3 2
4 8
6 3
2 3
5 4
5 2
5 5
3 7

output:

8

result:

ok 1 number(s): "8"

Test #12:

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

input:

10 2
7 3
8 4
6 3
8 3
4 3
3 2
5 4
3 1
2 3
8 2

output:

9

result:

ok 1 number(s): "9"

Test #13:

score: -100
Wrong Answer
time: 1ms
memory: 7936kb

input:

10 2
9 2
7 2
6 2
4 2
5 3
2 1
4 1
4 1
3 2
8 3

output:

9

result:

wrong answer 1st numbers differ - expected: '10', found: '9'