QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#773146#2276. NewspapersMaMengQi4 1ms3684kbC++231.0kb2024-11-23 02:00:142024-11-23 02:00:15

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 6
Acceptable Answer
time: 0ms
memory: 3656kb

input:

1 0

output:

YES

result:

points 0.50 OK correct token

Test #2:

score: 6
Acceptable Answer
time: 0ms
memory: 3608kb

input:

2 1
1 2

output:

YES

result:

points 0.50 OK correct token

Test #3:

score: 6
Acceptable Answer
time: 1ms
memory: 3600kb

input:

5 4
1 2
2 3
3 4
4 5

output:

YES

result:

points 0.50 OK correct token

Test #4:

score: 6
Acceptable Answer
time: 0ms
memory: 3664kb

input:

6 5
1 2
2 3
3 4
4 5
5 6

output:

YES

result:

points 0.50 OK correct token

Test #5:

score: 6
Acceptable Answer
time: 1ms
memory: 3604kb

input:

4 3
1 2
1 3
1 4

output:

YES

result:

points 0.50 OK correct token

Test #6:

score: 6
Acceptable Answer
time: 0ms
memory: 3596kb

input:

7 6
1 2
1 3
1 4
1 5
5 6
5 7

output:

YES

result:

points 0.50 OK correct token

Test #7:

score: 12
Accepted
time: 1ms
memory: 3596kb

input:

3 3
1 2
2 3
3 1

output:

NO

result:

ok OK there's no successful strategy for Ankica

Test #8:

score: 6
Acceptable Answer
time: 0ms
memory: 3676kb

input:

7 6
1 2
2 3
1 4
4 5
1 6
6 7

output:

YES

result:

points 0.50 OK correct token

Test #9:

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

input:

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

output:

YES

result:

wrong answer incorrect output. expected No Solution.

Subtask #2:

score: 4
Acceptable Answer

Test #65:

score: 4
Acceptable Answer
time: 0ms
memory: 3676kb

input:

1 0

output:

YES

result:

points 0.50 OK correct token

Test #66:

score: 4
Acceptable Answer
time: 1ms
memory: 3608kb

input:

2 1
1 2

output:

YES

result:

points 0.50 OK correct token

Test #67:

score: 4
Acceptable Answer
time: 1ms
memory: 3660kb

input:

3 2
1 2
2 3

output:

YES

result:

points 0.50 OK correct token

Test #68:

score: 4
Acceptable Answer
time: 1ms
memory: 3604kb

input:

4 3
1 2
2 3
3 4

output:

YES

result:

points 0.50 OK correct token

Test #69:

score: 4
Acceptable Answer
time: 1ms
memory: 3604kb

input:

5 4
1 2
2 3
3 4
4 5

output:

YES

result:

points 0.50 OK correct token

Test #70:

score: 4
Acceptable Answer
time: 0ms
memory: 3668kb

input:

6 5
1 2
2 3
3 4
4 5
5 6

output:

YES

result:

points 0.50 OK correct token

Test #71:

score: 4
Acceptable Answer
time: 1ms
memory: 3664kb

input:

7 6
1 2
2 3
3 4
4 5
5 6
6 7

output:

YES

result:

points 0.50 OK correct token

Test #72:

score: 4
Acceptable Answer
time: 1ms
memory: 3668kb

input:

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

output:

YES

result:

points 0.50 OK correct token

Test #73:

score: 4
Acceptable Answer
time: 1ms
memory: 3676kb

input:

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

output:

YES

result:

points 0.50 OK correct token

Test #74:

score: 4
Acceptable Answer
time: 1ms
memory: 3608kb

input:

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

output:

YES

result:

points 0.50 OK correct token

Test #75:

score: 4
Acceptable Answer
time: 1ms
memory: 3668kb

input:

944 943
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #76:

score: 4
Acceptable Answer
time: 0ms
memory: 3652kb

input:

515 514
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #77:

score: 4
Acceptable Answer
time: 1ms
memory: 3668kb

input:

608 607
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #78:

score: 4
Acceptable Answer
time: 1ms
memory: 3684kb

input:

642 641
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #79:

score: 4
Acceptable Answer
time: 1ms
memory: 3684kb

input:

681 680
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #80:

score: 4
Acceptable Answer
time: 0ms
memory: 3656kb

input:

996 995
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #81:

score: 4
Acceptable Answer
time: 0ms
memory: 3604kb

input:

997 996
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #82:

score: 4
Acceptable Answer
time: 1ms
memory: 3600kb

input:

998 997
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #83:

score: 4
Acceptable Answer
time: 1ms
memory: 3684kb

input:

999 998
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52 ...

output:

YES

result:

points 0.50 OK correct token

Test #84:

score: 4
Acceptable Answer
time: 0ms
memory: 3652kb

input:

1000 999
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
10 11
11 12
12 13
13 14
14 15
15 16
16 17
17 18
18 19
19 20
20 21
21 22
22 23
23 24
24 25
25 26
26 27
27 28
28 29
29 30
30 31
31 32
32 33
33 34
34 35
35 36
36 37
37 38
38 39
39 40
40 41
41 42
42 43
43 44
44 45
45 46
46 47
47 48
48 49
49 50
50 51
51 52
52...

output:

YES

result:

points 0.50 OK correct token

Subtask #3:

score: 0
Wrong Answer

Test #85:

score: 40
Acceptable Answer
time: 0ms
memory: 3676kb

input:

1 0

output:

YES

result:

points 0.50 OK correct token

Test #86:

score: 40
Acceptable Answer
time: 1ms
memory: 3596kb

input:

2 1
1 2

output:

YES

result:

points 0.50 OK correct token

Test #87:

score: 40
Acceptable Answer
time: 1ms
memory: 3604kb

input:

5 4
1 2
2 3
3 4
4 5

output:

YES

result:

points 0.50 OK correct token

Test #88:

score: 40
Acceptable Answer
time: 1ms
memory: 3604kb

input:

6 5
1 2
2 3
3 4
4 5
5 6

output:

YES

result:

points 0.50 OK correct token

Test #89:

score: 40
Acceptable Answer
time: 1ms
memory: 3604kb

input:

4 3
1 2
1 3
1 4

output:

YES

result:

points 0.50 OK correct token

Test #90:

score: 40
Acceptable Answer
time: 1ms
memory: 3660kb

input:

7 6
1 2
1 3
1 4
1 5
5 6
5 7

output:

YES

result:

points 0.50 OK correct token

Test #91:

score: 80
Accepted
time: 1ms
memory: 3592kb

input:

3 3
1 2
2 3
3 1

output:

NO

result:

ok OK there's no successful strategy for Ankica

Test #92:

score: 40
Acceptable Answer
time: 1ms
memory: 3600kb

input:

7 6
1 2
2 3
1 4
4 5
1 6
6 7

output:

YES

result:

points 0.50 OK correct token

Test #93:

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

input:

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

output:

YES

result:

wrong answer incorrect output. expected No Solution.