QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#423606#2559. Endless RoadFarmer_DWA 24ms130188kbC++145.2kb2024-05-28 12:15:272024-05-28 12:15:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 129208kb

input:

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

output:

1
2
5
3
4
6


result:

ok 6 tokens

Test #2:

score: 0
Accepted
time: 24ms
memory: 130188kb

input:

4
3 7
10 14
1 6
6 11

output:

1
3
2
4


result:

ok 4 tokens

Test #3:

score: -100
Wrong Answer
time: 12ms
memory: 129764kb

input:

100
50 51
49 51
49 52
48 52
48 53
47 53
47 54
46 54
46 55
45 55
45 56
44 56
44 57
43 57
43 58
42 58
42 59
41 59
41 60
40 60
40 61
39 61
39 62
38 62
38 63
37 63
37 64
36 64
36 65
35 65
35 66
34 66
34 67
33 67
33 68
32 68
32 69
31 69
31 70
30 70
30 71
29 71
29 72
28 72
28 73
27 73
27 74
26 74
26 75
25...

output:

1
3
2
5
4
7
6
9
8
11
10
13
12
15
14
17
16
19
18
21
20
23
22
25
24
27
26
29
28
31
30
33
32
35
34
37
36
39
38
41
40
43
42
45
44
47
46
49
48
51
50
53
52
55
54
57
56
59
58
61
60
63
62
65
64
67
66
69
68
71
70
73
72
75
74
77
76
79
78
81
80
83
82
85
84
87
86
89
88
91
90
93
92
95
94
97
96
99
98
100


result:

wrong answer 2nd words differ - expected: '2', found: '3'