QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#432829#8651. Table Tennisegypt_ioi2024_12#4 891ms3848kbC++201.9kb2024-06-07 18:24:422024-06-07 18:24:42

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Time Limit Exceeded

Test #1:

score: 0
Time Limit Exceeded

input:

97
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 0
15 0
16 0
17 0
18 0
19 0
20 0
21 0
22 0
23 0
24 0
25 0
26 0
27 0
28 0
29 0
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
56 0
57 0
58 0
59 0
60 0
61 0
62 0
63 0...

output:


result:


Subtask #2:

score: 4
Accepted

Test #58:

score: 4
Accepted
time: 8ms
memory: 3560kb

input:

1
4 4

output:

No

result:

ok good job! (1 test case)

Test #59:

score: 4
Accepted
time: 13ms
memory: 3672kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #60:

score: 4
Accepted
time: 21ms
memory: 3684kb

input:

1
6 20

output:

No

result:

ok good job! (1 test case)

Test #61:

score: 4
Accepted
time: 41ms
memory: 3556kb

input:

1
7 35

output:

No

result:

ok good job! (1 test case)

Test #62:

score: 4
Accepted
time: 14ms
memory: 3828kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #63:

score: 4
Accepted
time: 24ms
memory: 3844kb

input:

1
6 19

output:

No

result:

ok good job! (1 test case)

Test #64:

score: 4
Accepted
time: 24ms
memory: 3656kb

input:

1
6 20

output:

No

result:

ok good job! (1 test case)

Test #65:

score: 4
Accepted
time: 40ms
memory: 3604kb

input:

1
7 33

output:

No

result:

ok good job! (1 test case)

Test #66:

score: 4
Accepted
time: 40ms
memory: 3560kb

input:

1
7 33

output:

No

result:

ok good job! (1 test case)

Test #67:

score: 4
Accepted
time: 8ms
memory: 3616kb

input:

1
4 3

output:

No

result:

ok good job! (1 test case)

Test #68:

score: 4
Accepted
time: 14ms
memory: 3564kb

input:

1
5 8

output:

No

result:

ok good job! (1 test case)

Test #69:

score: 4
Accepted
time: 25ms
memory: 3672kb

input:

1
6 17

output:

No

result:

ok good job! (1 test case)

Test #70:

score: 4
Accepted
time: 37ms
memory: 3604kb

input:

1
7 30

output:

No

result:

ok good job! (1 test case)

Test #71:

score: 4
Accepted
time: 0ms
memory: 3600kb

input:

2
3 0
3 1

output:

Yes
0
01
Yes
0
10

result:

ok good job! (2 test cases)

Test #72:

score: 4
Accepted
time: 1ms
memory: 3680kb

input:

2
3 0
3 1

output:

Yes
0
00
Yes
0
10

result:

ok good job! (2 test cases)

Test #73:

score: 4
Accepted
time: 0ms
memory: 3796kb

input:

1
4 2

output:

Yes
1
01
001

result:

ok good job! (1 test case)

Test #74:

score: 4
Accepted
time: 0ms
memory: 3680kb

input:

1
5 5

output:

Yes
0
00
110
1001

result:

ok good job! (1 test case)

Test #75:

score: 4
Accepted
time: 0ms
memory: 3680kb

input:

1
6 8

output:

Yes
1
11
011
0110
10110

result:

ok good job! (1 test case)

Test #76:

score: 4
Accepted
time: 0ms
memory: 3604kb

input:

1
7 14

output:

Yes
0
10
101
0010
11010
010101

result:

ok good job! (1 test case)

Test #77:

score: 4
Accepted
time: 0ms
memory: 3516kb

input:

1
6 5

output:

Yes
0
10
110
1101
00010

result:

ok good job! (1 test case)

Test #78:

score: 4
Accepted
time: 0ms
memory: 3600kb

input:

1
6 4

output:

Yes
1
10
110
1110
10111

result:

ok good job! (1 test case)

Test #79:

score: 4
Accepted
time: 0ms
memory: 3548kb

input:

1
7 7

output:

Yes
1
00
100
1000
00100
100101

result:

ok good job! (1 test case)

Test #80:

score: 4
Accepted
time: 0ms
memory: 3668kb

input:

1
7 6

output:

Yes
1
01
101
0000
10101
011111

result:

ok good job! (1 test case)

Test #81:

score: 4
Accepted
time: 1ms
memory: 3612kb

input:

1
7 8

output:

Yes
0
01
010
0001
10111
011011

result:

ok good job! (1 test case)

Test #82:

score: 4
Accepted
time: 0ms
memory: 3776kb

input:

1
6 7

output:

Yes
1
11
011
0100
01110

result:

ok good job! (1 test case)

Test #83:

score: 4
Accepted
time: 0ms
memory: 3616kb

input:

1
6 6

output:

Yes
0
10
101
1100
01000

result:

ok good job! (1 test case)

Test #84:

score: 4
Accepted
time: 0ms
memory: 3652kb

input:

1
7 11

output:

Yes
1
11
010
0111
00111
001110

result:

ok good job! (1 test case)

Test #85:

score: 4
Accepted
time: 0ms
memory: 3624kb

input:

1
7 11

output:

Yes
0
11
110
0111
00110
101100

result:

ok good job! (1 test case)

Test #86:

score: 4
Accepted
time: 0ms
memory: 3768kb

input:

1
7 13

output:

Yes
1
01
101
0110
10011
010100

result:

ok good job! (1 test case)

Test #87:

score: 4
Accepted
time: 0ms
memory: 3576kb

input:

1
6 6

output:

Yes
1
10
010
0010
11011

result:

ok good job! (1 test case)

Test #88:

score: 4
Accepted
time: 0ms
memory: 3592kb

input:

1
7 9

output:

Yes
0
11
100
0110
11110
100100

result:

ok good job! (1 test case)

Test #89:

score: 4
Accepted
time: 8ms
memory: 3772kb

input:

1
4 3

output:

No

result:

ok good job! (1 test case)

Test #90:

score: 4
Accepted
time: 14ms
memory: 3672kb

input:

1
5 10

output:

No

result:

ok good job! (1 test case)

Test #91:

score: 4
Accepted
time: 21ms
memory: 3556kb

input:

1
6 13

output:

No

result:

ok good job! (1 test case)

Test #92:

score: 4
Accepted
time: 40ms
memory: 3624kb

input:

1
7 23

output:

No

result:

ok good job! (1 test case)

Test #93:

score: 4
Accepted
time: 0ms
memory: 3676kb

input:

1
6 5

output:

Yes
1
01
111
1110
00010

result:

ok good job! (1 test case)

Test #94:

score: 4
Accepted
time: 0ms
memory: 3604kb

input:

1
6 2

output:

Yes
0
01
101
0000
00001

result:

ok good job! (1 test case)

Test #95:

score: 4
Accepted
time: 0ms
memory: 3848kb

input:

1
7 7

output:

Yes
0
10
110
1110
11101
110110

result:

ok good job! (1 test case)

Test #96:

score: 4
Accepted
time: 0ms
memory: 3788kb

input:

1
7 6

output:

Yes
0
10
110
1000
11001
010010

result:

ok good job! (1 test case)

Test #97:

score: 4
Accepted
time: 0ms
memory: 3792kb

input:

1
7 8

output:

Yes
1
10
010
0011
01111
101111

result:

ok good job! (1 test case)

Test #98:

score: 4
Accepted
time: 1ms
memory: 3828kb

input:

1
6 5

output:

Yes
0
00
110
1100
11101

result:

ok good job! (1 test case)

Test #99:

score: 4
Accepted
time: 0ms
memory: 3592kb

input:

1
6 4

output:

Yes
0
10
111
0100
10000

result:

ok good job! (1 test case)

Test #100:

score: 4
Accepted
time: 0ms
memory: 3796kb

input:

1
7 7

output:

Yes
1
01
111
0101
11000
010000

result:

ok good job! (1 test case)

Test #101:

score: 4
Accepted
time: 1ms
memory: 3792kb

input:

1
7 6

output:

Yes
1
00
011
0000
00100
100111

result:

ok good job! (1 test case)

Test #102:

score: 4
Accepted
time: 0ms
memory: 3672kb

input:

1
7 8

output:

Yes
0
00
111
0110
01010
101000

result:

ok good job! (1 test case)

Test #103:

score: 4
Accepted
time: 1ms
memory: 3600kb

input:

1
6 1

output:

Yes
0
10
111
0000
11111

result:

ok good job! (1 test case)

Test #104:

score: 4
Accepted
time: 0ms
memory: 3792kb

input:

1
6 1

output:

Yes
0
00
000
1011
00110

result:

ok good job! (1 test case)

Test #105:

score: 4
Accepted
time: 0ms
memory: 3616kb

input:

1
7 3

output:

Yes
0
10
111
1000
10001
111111

result:

ok good job! (1 test case)

Test #106:

score: 4
Accepted
time: 1ms
memory: 3620kb

input:

1
7 3

output:

Yes
0
11
000
1111
01111
111101

result:

ok good job! (1 test case)

Test #107:

score: 4
Accepted
time: 0ms
memory: 3588kb

input:

1
7 3

output:

Yes
0
01
011
1110
00100
011000

result:

ok good job! (1 test case)

Test #108:

score: 4
Accepted
time: 0ms
memory: 3628kb

input:

1
5 2

output:

Yes
0
00
011
1011

result:

ok good job! (1 test case)

Test #109:

score: 4
Accepted
time: 0ms
memory: 3588kb

input:

1
6 5

output:

Yes
1
00
011
1001
00100

result:

ok good job! (1 test case)

Test #110:

score: 4
Accepted
time: 0ms
memory: 3620kb

input:

2
4 1
3 0

output:

Yes
1
11
101
Yes
0
01

result:

ok good job! (2 test cases)

Test #111:

score: 4
Accepted
time: 1ms
memory: 3620kb

input:

1
6 1

output:

Yes
0
01
000
1101
00010

result:

ok good job! (1 test case)

Test #112:

score: 4
Accepted
time: 1ms
memory: 3672kb

input:

2
3 0
3 1

output:

Yes
0
11
Yes
0
10

result:

ok good job! (2 test cases)

Test #113:

score: 4
Accepted
time: 0ms
memory: 3620kb

input:

1
6 1

output:

Yes
0
11
010
0111
01010

result:

ok good job! (1 test case)

Test #114:

score: 4
Accepted
time: 1ms
memory: 3600kb

input:

1
6 4

output:

Yes
0
10
001
0011
00111

result:

ok good job! (1 test case)

Test #115:

score: 4
Accepted
time: 1ms
memory: 3656kb

input:

1
7 14

output:

Yes
0
11
101
0011
01100
100110

result:

ok good job! (1 test case)

Test #116:

score: 4
Accepted
time: 0ms
memory: 3600kb

input:

1
7 8

output:

Yes
0
00
101
0011
01000
000100

result:

ok good job! (1 test case)

Test #117:

score: 4
Accepted
time: 1ms
memory: 3772kb

input:

1
7 10

output:

Yes
1
00
101
0110
11011
101001

result:

ok good job! (1 test case)

Subtask #3:

score: 0
Time Limit Exceeded

Dependency #2:

100%
Accepted

Test #118:

score: 23
Accepted
time: 891ms
memory: 3600kb

input:

1
19 969

output:

No

result:

ok good job! (1 test case)

Test #119:

score: 0
Time Limit Exceeded

input:

1
20 1140

output:

No

result:


Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%