QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#864133#9259. JCPC Registration Systemucup-team4744#AC ✓42ms3840kbC++201.4kb2025-01-20 10:54:172025-01-20 10:54:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3840kb

input:

4
4 4 2019
30 6 2020
26 10 2019
1 1 2019
26 10 2019
20 10 2018
26 10 2019
29 2 2019

output:

d:1 r:2 [5][3]
l:9 [1][3]
u:1 [3][7]
Unspecified Server Error

result:

ok 10 tokens

Test #2:

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

input:

100
3 7 2006
14 12 1902
12 11 1973
13 8 2081
26 10 1917
21 9 1970
20 2 1929
30 2 2071
4 1 2059
24 9 2061
11 10 2076
26 8 2081
15 8 1999
11 2 2012
28 11 2081
16 1 2082
28 7 2021
13 2 2098
12 1 1961
7 4 2020
28 7 1978
17 3 1964
17 11 1936
13 12 2051
12 2 2059
17 11 1907
11 3 1900
5 6 1915
20 3 1915
10...

output:

u:104 r:5 [3][1]
d:108 l:3 [3][4]
d:53 l:1 [4][2]
Unspecified Server Error
d:2 r:8 [4][7]
d:5 l:2 [5][3]
d:13 l:6 [2][7]
d:1 l:10 [3][6]
d:77 l:5 [3][5]
d:59 r:3 [2][3]
u:14 l:4 [3][3]
d:115 r:1 [3][4]
u:152 r:9 [4][1]
d:15 r:3 [1][7]
d:152 r:7 [3][2]
d:38 r:3 [2][6]
d:96 l:3 [4][5]
d:101 r:9 [4][5]...

result:

ok 293 tokens

Test #3:

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

input:

1000
3 5 1932
16 4 2027
18 1 2078
10 11 1949
5 12 2018
30 7 1978
1 10 2004
12 7 1968
12 3 2064
17 7 1976
12 5 2057
27 7 1981
12 6 1973
9 7 2100
25 6 2032
2 5 2014
5 2 1938
30 8 1934
3 9 1953
14 9 2084
1 3 1999
10 3 2019
22 6 1950
16 10 1989
17 4 1916
7 8 2038
6 3 1963
7 12 2072
28 2 1900
9 1 1941
8 ...

output:

d:95 l:1 [3][6]
u:129 r:10 [2][5]
u:40 l:5 [6][1]
u:36 l:3 [2][6]
u:88 r:4 [3][7]
u:76 r:2 [5][2]
d:127 r:1 [2][6]
u:18 l:1 [1][6]
u:4 r:6 [5][5]
d:131 [3][5]
d:20 [3][1]
d:39 r:4 [3][2]
d:122 r:4 [1][7]
d:109 r:9 [2][4]
d:41 l:1 [2][5]
d:24 r:2 [3][5]
u:39 r:7 [4][6]
d:29 l:1 [6][2]
u:82 l:1 [2][7]...

result:

ok 2896 tokens

Test #4:

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

input:

5000
20 7 1911
15 10 2016
22 10 1937
25 5 2041
26 9 2063
23 3 2004
28 8 1977
2 8 1968
3 4 1955
14 3 2013
23 7 2010
28 12 2009
8 6 1901
17 6 2007
9 7 2017
19 5 1938
1 10 2061
28 12 2092
26 4 2082
8 7 2075
1 6 1918
4 11 1992
12 4 2013
20 2 2041
26 8 1993
16 10 1923
21 6 2083
1 10 1950
15 6 1926
1 7 19...

output:

d:105 r:3 [3][7]
d:104 l:5 [4][7]
u:59 l:6 [4][3]
u:9 [1][6]
d:58 l:1 [3][5]
u:1 r:5 [5][2]
d:106 [4][1]
u:79 l:2 [3][5]
d:31 r:2 [5][1]
u:7 r:3 [2][2]
d:74 r:5 [1][4]
d:28 l:2 [4][4]
u:70 r:2 [3][3]
u:133 r:4 [1][1]
d:69 r:1 [1][7]
d:86 l:5 [2][3]
d:20 l:8 [2][2]
u:5 l:2 [2][2]
u:130 r:3 [3][2]
u:8...

result:

ok 14537 tokens

Test #5:

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

input:

10000
12 9 1908
6 6 2038
17 7 1997
29 7 2029
28 12 1984
10 10 2018
28 8 2033
11 7 1953
1 5 1939
31 2 1922
12 8 1927
7 3 2012
14 11 2084
27 2 2002
11 12 1916
19 8 1941
18 5 1983
28 12 1997
17 12 2058
31 4 2071
15 5 1994
19 12 2039
13 5 2027
19 6 1933
23 5 1965
12 7 1968
25 7 1956
29 3 2073
27 10 2018...

output:

d:130 l:3 [2][1]
d:32 [5][1]
d:34 l:2 [2][4]
u:80 l:1 [2][7]
Unspecified Server Error
d:85 l:5 [2][4]
u:82 l:9 [5][4]
d:25 l:4 [4][3]
d:14 r:7 [5][1]
Unspecified Server Error
d:45 r:7 [4][2]
u:94 r:1 [4][2]
d:3 r:2 [2][6]
d:117 l:4 [5][4]
u:92 l:5 [3][2]
u:192 r:4 [1][1]
u:69 l:1 [5][4]
d:8 r:4 [6][...

result:

ok 29105 tokens

Test #6:

score: 0
Accepted
time: 7ms
memory: 3840kb

input:

20000
19 12 1913
8 11 1988
10 4 1984
23 12 1902
14 7 1936
21 11 2002
19 1 2095
27 2 2086
17 9 2053
14 8 1930
8 1 1994
9 8 2030
24 5 2053
12 12 1940
23 5 2001
12 1 2008
9 6 1938
11 8 2041
23 2 1959
24 4 1918
12 8 2013
16 1 1991
28 7 2021
20 2 1930
24 9 2004
13 6 2097
23 11 1972
10 2 1992
25 5 2071
4 ...

output:

d:75 l:1 [2][3]
u:82 r:8 [4][3]
d:66 r:4 [4][5]
u:9 r:1 [5][4]
u:123 l:1 [3][5]
d:36 r:7 [2][6]
u:113 r:7 [2][5]
d:7 l:4 [2][7]
d:103 r:2 [3][1]
u:41 r:2 [4][4]
u:22 l:7 [3][4]
u:91 l:5 [4][5]
d:93 l:3 [3][5]
d:20 l:9 [3][2]
u:38 r:6 [1][6]
d:158 r:7 [5][2]
u:164 r:3 [3][2]
d:109 r:6 [4][6]
u:114 [4...

result:

ok 58321 tokens

Test #7:

score: 0
Accepted
time: 22ms
memory: 3712kb

input:

50000
25 7 1940
17 1 1963
26 6 1933
4 9 2084
6 11 2087
12 7 1926
8 12 1916
29 11 2065
4 8 1917
1 10 1902
11 8 2005
24 4 2009
16 12 1980
6 2 1923
27 1 2046
26 12 2051
26 1 2092
24 7 1937
11 7 1917
5 4 1947
20 4 2059
3 8 1968
7 7 2015
4 11 1939
23 10 1970
31 11 2031
22 2 1937
29 4 1961
21 7 1945
30 10...

output:

d:23 l:6 [3][5]
d:151 r:3 [2][2]
u:161 l:4 [3][2]
d:149 l:1 [5][1]
u:15 r:2 [1][4]
d:4 l:4 [4][6]
u:57 l:10 [2][3]
d:5 r:11 [5][3]
u:155 r:6 [4][7]
d:30 l:3 [1][7]
u:91 r:4 [1][7]
u:76 r:4 [1][7]
Unspecified Server Error
d:24 r:2 [5][7]
d:126 r:3 [5][6]
d:114 l:1 [5][1]
u:23 l:5 [4][1]
d:199 l:7 [1]...

result:

ok 145660 tokens

Test #8:

score: 0
Accepted
time: 26ms
memory: 3712kb

input:

70000
19 10 1908
2 8 1947
17 8 1926
31 8 2066
24 3 1979
31 1 1907
18 12 1990
27 7 2045
11 1 1909
14 2 2088
5 4 1941
18 10 2029
11 5 1982
13 4 2043
13 9 2061
12 5 2082
25 3 2029
10 7 2066
16 9 1973
24 2 2100
2 2 1939
20 1 1938
6 1 1921
3 9 1953
19 9 1964
25 10 1963
17 7 1999
29 6 2080
17 1 1913
28 1 ...

output:

d:39 l:2 [1][7]
d:140 [5][3]
u:72 l:2 [5][5]
d:55 l:5 [5][5]
d:179 r:1 [2][7]
d:88 r:6 [3][5]
d:61 l:1 [3][2]
d:21 l:4 [3][3]
d:37 r:4 [2][7]
d:127 l:7 [4][4]
u:1 l:1 [4][5]
d:32 r:8 [1][5]
u:1 r:1 [4][6]
d:81 l:1 [5][7]
d:181 [5][5]
d:50 l:1 [4][2]
d:107 l:6 [5][1]
u:37 r:2 [6][1]
u:45 r:7 [3][4]
d...

result:

ok 203988 tokens

Test #9:

score: 0
Accepted
time: 36ms
memory: 3840kb

input:

90000
25 1 2086
31 10 2051
7 12 1964
25 10 2018
10 9 2067
31 5 2000
18 5 2040
29 2 2053
10 10 1981
12 9 1958
6 5 1984
28 2 2064
8 4 1954
16 2 2041
16 8 2092
6 8 2028
24 11 2046
23 3 1980
5 5 1946
21 10 2085
3 10 2093
26 8 1969
18 6 2086
3 10 2000
25 7 2057
11 1 2062
15 4 1992
8 2 2069
14 2 2010
28 7...

output:

u:35 r:9 [5][3]
d:54 l:2 [4][5]
u:67 l:4 [5][4]
Unspecified Server Error
u:23 l:1 [2][6]
d:80 l:3 [5][5]
d:87 l:2 [3][7]
u:64 [2][1]
u:66 l:8 [5][1]
d:139 r:5 [4][1]
u:124 l:2 [5][3]
u:86 r:4 [1][3]
d:5 l:6 [2][4]
d:77 l:2 [2][6]
d:36 r:5 [4][7]
u:48 r:3 [1][6]
d:144 [4][6]
d:64 r:5 [5][5]
u:39 l:3 ...

result:

ok 262268 tokens

Test #10:

score: 0
Accepted
time: 42ms
memory: 3840kb

input:

100000
23 6 2068
15 6 2046
8 3 2024
15 3 2083
13 12 1968
10 7 1947
13 10 2062
20 2 1920
24 5 1931
6 3 1918
27 12 1997
12 9 2028
16 7 1904
29 8 2075
20 10 2044
16 11 2027
24 10 1919
27 3 2068
8 2 1948
20 5 1950
18 5 2039
30 2 1976
3 2 1907
8 8 1981
8 10 1942
27 3 2089
26 6 1918
18 2 1955
14 10 2084
5...

output:

u:22 [3][6]
d:59 [3][2]
u:21 l:5 [2][5]
u:142 l:8 [3][6]
u:13 l:2 [2][4]
d:31 l:3 [3][3]
d:171 r:1 [5][5]
u:17 r:1 [3][3]
d:149 l:7 [5][3]
d:2 r:3 [3][7]
Unspecified Server Error
d:74 r:6 [2][7]
d:147 l:7 [5][1]
d:37 l:4 [3][6]
u:2 l:9 [2][2]
d:62 r:6 [5][3]
u:132 l:1 [4][3]
d:91 r:1 [4][2]
u:11 r:6...

result:

ok 291302 tokens

Test #11:

score: 0
Accepted
time: 39ms
memory: 3712kb

input:

100000
4 12 2089
17 8 1947
8 11 2067
30 11 1919
23 11 1911
28 4 2090
8 6 1924
27 5 1952
19 7 1976
2 8 2055
9 1 1955
15 12 1967
16 3 1940
18 4 1904
26 11 2075
5 8 2005
3 9 1919
7 7 2009
26 5 1969
14 10 1953
24 12 1992
20 5 2040
20 7 2083
8 6 1940
13 10 1995
31 8 2007
11 12 1921
10 7 2091
21 2 1947
4 ...

output:

u:142 l:4 [4][1]
u:148 [6][1]
d:179 l:7 [5][6]
d:28 l:1 [5][3]
d:79 r:1 [1][2]
d:12 r:11 [3][6]
u:36 r:1 [4][2]
u:70 l:3 [1][6]
d:90 l:2 [2][3]
u:16 r:5 [3][4]
d:48 l:7 [4][1]
u:143 l:1 [2][7]
d:12 l:2 [5][6]
d:170 l:5 [2][3]
d:54 r:2 [1][4]
u:140 l:2 [3][5]
d:97 l:4 [3][6]
d:58 l:2 [5][2]
d:23 r:1 ...

result:

ok 291325 tokens

Test #12:

score: 0
Accepted
time: 41ms
memory: 3712kb

input:

100000
11 2 2097
16 9 2016
27 10 1904
7 3 1907
27 12 2074
28 11 1951
4 8 2097
20 12 2056
21 7 2097
17 10 2003
22 9 2038
5 6 1950
12 1 2030
31 10 2005
7 12 2093
6 8 1955
25 10 2007
31 10 1965
12 12 1931
7 1 2094
3 10 1992
1 11 2052
24 6 1966
8 7 2066
10 5 1939
31 6 2074
14 5 2048
15 5 2033
6 10 2047
...

output:

u:81 r:7 [3][6]
d:3 l:7 [2][5]
u:123 l:1 [5][4]
u:41 r:4 [4][4]
u:94 r:3 [3][6]
u:88 l:3 [2][2]
u:25 r:9 [6][2]
u:138 l:4 [1][7]
u:42 [6][1]
d:163 l:11 [2][5]
d:60 r:1 [1][6]
d:100 r:1 [2][5]
Unspecified Server Error
u:15 [3][1]
u:91 l:1 [5][2]
u:172 r:1 [1][7]
u:132 r:7 [1][6]
u:66 l:10 [1][6]
d:17...

result:

ok 291384 tokens

Test #13:

score: 0
Accepted
time: 41ms
memory: 3712kb

input:

100000
8 3 1983
30 7 1900
15 11 1975
11 9 1907
28 1 2042
12 1 1930
9 1 2046
1 9 1990
2 4 1980
31 10 1946
2 8 2012
23 11 2030
14 3 2021
27 12 2023
21 7 1986
27 10 1977
26 12 1962
7 7 2030
22 2 2009
11 4 1942
15 1 2024
17 1 1909
26 1 1923
27 4 1952
2 12 2022
29 6 1933
1 6 2092
7 2 2018
20 11 2099
16 2...

output:

u:83 r:4 [5][2]
u:68 l:2 [2][4]
u:112 [3][1]
u:56 r:8 [1][7]
u:34 r:6 [5][5]
d:18 r:3 [4][7]
d:2 r:9 [5][4]
u:9 r:3 [5][5]
d:68 l:5 [2][1]
u:67 r:2 [2][7]
u:115 [4][1]
d:29 r:3 [5][1]
u:89 l:6 [5][5]
u:74 l:4 [2][4]
u:18 l:9 [4][1]
u:31 r:1 [3][6]
u:72 r:2 [4][1]
u:65 l:10 [4][1]
d:141 r:11 [3][6]
d...

result:

ok 291317 tokens

Test #14:

score: 0
Accepted
time: 39ms
memory: 3840kb

input:

100000
16 6 1924
8 11 1979
9 5 2086
23 1 2060
7 5 1954
8 10 1996
23 9 2056
24 3 2049
17 8 1962
14 5 1949
22 7 2002
23 5 1973
5 7 2081
23 7 1947
13 6 1966
23 11 2069
22 2 1917
17 11 1916
16 1 2038
7 10 2021
16 3 1970
26 7 1930
28 7 1900
1 10 2082
15 3 2036
16 2 2016
22 5 1977
30 6 2067
15 10 2086
18 ...

output:

d:55 r:5 [2][5]
u:26 l:4 [4][6]
d:42 r:5 [2][3]
u:7 l:6 [4][4]
u:13 l:3 [2][7]
u:29 l:2 [4][4]
u:134 [4][4]
d:103 r:5 [4][7]
u:1 r:9 [3][6]
u:17 r:9 [2][5]
u:40 r:4 [4][7]
d:182 r:3 [1][5]
u:20 l:1 [3][3]
d:90 r:1 [5][5]
d:11 l:7 [4][2]
d:76 l:1 [5][2]
d:15 r:1 [3][5]
u:67 l:2 [5][4]
Unspecified Ser...

result:

ok 291355 tokens

Test #15:

score: 0
Accepted
time: 41ms
memory: 3840kb

input:

100000
7 3 1912
28 7 1953
16 1 1923
17 11 2079
2 2 1969
15 11 2091
8 2 1949
15 11 1935
9 11 1940
4 12 1967
6 3 2088
22 5 1926
27 9 1978
6 6 2062
12 2 2038
29 12 1919
12 11 2006
9 12 2003
3 11 1954
27 12 1933
24 4 2073
12 3 1953
7 6 2038
20 3 2038
26 8 1953
12 4 1982
8 8 1945
26 4 1984
23 11 2027
16 ...

output:

d:41 r:4 [5][3]
d:156 r:10 [3][6]
d:122 r:9 [3][5]
u:14 r:9 [3][6]
d:27 r:1 [2][2]
u:162 r:2 [4][7]
d:84 l:3 [2][3]
u:119 r:10 [5][2]
u:3 r:1 [2][3]
u:21 r:1 [5][4]
u:120 l:1 [2][5]
l:3 [3][7]
d:29 l:4 [3][2]
d:39 l:4 [4][5]
d:61 l:8 [3][3]
u:48 l:1 [2][3]
d:44 l:7 [1][3]
u:95 l:1 [1][5]
d:34 l:3 [3...

result:

ok 291417 tokens

Test #16:

score: 0
Accepted
time: 42ms
memory: 3712kb

input:

100000
27 2 1918
25 10 2040
23 3 2045
28 4 1998
5 2 2015
1 3 2046
7 3 2058
4 6 2074
10 12 1928
4 5 2021
28 7 2089
20 10 1921
2 11 2019
27 2 1975
24 1 2007
12 12 1980
10 4 2068
15 1 2024
23 11 1905
25 8 2024
16 4 1992
1 1 2079
19 4 2076
22 6 2065
26 10 2036
19 9 2000
12 12 1960
28 2 2055
22 11 1962
1...

output:

d:122 r:8 [4][5]
u:47 r:1 [5][3]
d:31 r:1 [1][5]
d:16 r:3 [2][2]
d:93 l:7 [2][3]
u:168 r:3 [4][5]
u:44 l:9 [5][5]
u:27 r:11 [2][6]
u:44 l:3 [3][2]
d:119 l:3 [5][1]
d:87 l:3 [1][1]
u:11 r:2 [4][2]
u:36 l:1 [4][3]
d:95 l:10 [5][1]
u:11 [3][4]
d:72 r:1 [2][1]
u:48 l:1 [4][3]
u:106 r:5 [3][7]
d:106 l:1 ...

result:

ok 291347 tokens

Test #17:

score: 0
Accepted
time: 41ms
memory: 3712kb

input:

100000
8 7 1959
29 11 2094
8 11 2020
19 12 2012
7 7 2014
27 8 2057
12 1 2064
16 11 1993
15 9 2011
7 12 1979
21 1 2016
31 11 1998
19 3 2076
20 6 2081
10 6 2063
3 11 1902
25 5 2017
23 6 1946
4 2 2020
17 3 1942
25 2 1978
14 2 2035
25 4 1915
13 1 1963
17 2 2009
25 6 2001
6 8 2034
17 9 1929
14 10 2067
30...

output:

d:135 r:4 [5][2]
u:8 r:1 [4][4]
d:43 r:1 [5][2]
u:71 r:10 [3][3]
u:32 r:3 [2][6]
Unspecified Server Error
d:5 r:3 [3][6]
u:161 r:5 [2][2]
u:71 r:1 [5][1]
u:78 r:1 [3][3]
d:57 [3][4]
d:48 l:3 [3][1]
u:8 r:4 [5][2]
u:105 r:1 [3][3]
u:2 r:2 [5][4]
u:124 [2][7]
u:10 r:5 [4][6]
u:8 l:7 [4][1]
d:122 l:3 [...

result:

ok 291448 tokens

Test #18:

score: 0
Accepted
time: 40ms
memory: 3840kb

input:

100000
23 2 2024
5 2 1953
2 4 1924
5 9 1957
6 11 1955
22 10 1972
8 6 1999
6 11 2040
11 8 1994
9 1 2028
9 6 2049
14 11 1988
28 12 1901
31 8 1928
6 1 1970
30 8 1981
14 2 2006
13 5 1940
28 11 2062
1 3 1930
22 8 1954
19 4 1939
23 5 2019
10 3 2011
1 3 2012
28 5 1916
19 11 1997
4 2 2010
2 5 2030
14 9 2074...

output:

u:71 [1][5]
d:33 r:5 [1][5]
d:17 l:1 [4][1]
d:41 r:5 [2][3]
d:34 l:7 [3][1]
u:61 r:5 [3][2]
d:27 l:4 [5][6]
d:11 r:7 [6][1]
u:66 r:3 [3][2]
u:132 l:8 [1][7]
u:15 l:4 [4][4]
u:8 l:2 [2][5]
u:96 r:2 [5][1]
d:13 l:9 [1][5]
d:44 r:4 [3][6]
u:87 l:3 [2][5]
u:107 r:3 [4][3]
d:4 l:1 [4][2]
d:38 r:5 [5][4]
...

result:

ok 291465 tokens

Test #19:

score: 0
Accepted
time: 41ms
memory: 3712kb

input:

100000
9 6 1905
16 4 2021
4 9 1942
15 11 1979
13 9 1935
24 6 1977
24 12 1952
13 1 1964
21 7 2006
11 11 1911
9 12 1944
28 2 2096
13 1 1974
14 8 2098
12 2 2088
22 5 1967
17 2 2029
5 8 1997
16 12 2062
2 11 2020
6 11 2083
13 9 1953
28 5 1992
1 3 1982
13 12 1939
8 5 1945
28 9 2023
6 5 1967
1 1 1904
22 2 ...

output:

d:116 l:2 [3][6]
d:37 r:2 [3][5]
d:42 l:3 [4][6]
d:12 l:11 [3][2]
u:95 r:4 [2][7]
d:152 l:10 [5][3]
d:124 r:7 [3][5]
u:121 r:3 [4][2]
u:32 r:6 [2][3]
u:42 l:1 [1][2]
u:130 l:2 [3][1]
u:10 l:2 [1][2]
d:6 l:7 [2][3]
u:56 l:4 [1][7]
d:12 r:1 [4][3]
u:107 r:3 [4][1]
d:15 r:1 [4][1]
d:160 r:6 [1][7]
u:4 ...

result:

ok 291323 tokens

Test #20:

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

input:

1
31 12 2100
1 1 1900

output:

u:200 l:11 [1][2]

result:

ok 3 tokens

Test #21:

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

input:

1
1 1 1900
31 12 2100

output:

d:200 r:11 [5][6]

result:

ok 3 tokens

Test #22:

score: 0
Accepted
time: 39ms
memory: 3712kb

input:

100000
17 12 1900
14 1 2100
22 11 1900
3 4 2100
23 1 2100
21 3 1900
11 9 1900
7 1 2100
26 11 2100
6 7 1900
26 5 1900
17 6 2100
20 5 1900
7 3 2100
27 9 2100
1 1 1900
19 11 2100
12 6 1900
26 3 2100
20 5 1900
17 10 2100
1 3 1900
20 10 2100
31 7 1900
26 8 2100
9 3 1900
13 11 2100
12 7 1900
11 10 2100
9 ...

output:

d:200 l:11 [3][5]
d:200 l:7 [1][7]
u:200 r:2 [4][4]
d:200 l:8 [2][5]
u:200 l:4 [1][6]
d:200 r:1 [3][5]
d:200 l:2 [2][1]
u:200 l:8 [1][2]
u:200 l:5 [3][3]
u:200 r:2 [4][1]
u:200 l:7 [1][5]
u:200 l:3 [5][3]
u:200 l:5 [2][6]
u:200 l:4 [2][5]
u:200 r:2 [3][1]
d:200 r:1 [3][3]
d:200 l:2 [4][4]
u:200 r:1 ...

result:

ok 291909 tokens

Test #23:

score: 0
Accepted
time: 39ms
memory: 3712kb

input:

100000
12 8 2100
23 5 1900
13 1 1900
30 1 2100
22 3 1900
21 2 2100
6 3 2100
27 9 1900
5 11 1900
18 3 2100
28 7 1900
19 9 2100
24 6 2100
2 12 1900
17 6 2100
20 8 1900
11 3 2100
10 7 1900
14 12 2100
5 5 1900
12 1 1900
11 7 2100
15 6 1900
31 11 2100
3 11 2100
6 2 1900
16 5 1900
12 6 2100
21 4 2100
16 8...

output:

u:200 l:3 [4][4]
d:200 [5][7]
d:200 l:1 [4][1]
u:200 r:6 [5][5]
d:200 l:8 [3][5]
d:200 r:2 [4][1]
u:200 r:6 [2][1]
u:200 r:2 [4][2]
u:200 r:4 [2][3]
u:200 l:7 [1][7]
d:200 r:6 [3][1]
Unspecified Server Error
u:200 l:9 [2][3]
d:200 r:1 [2][7]
u:200 r:4 [3][5]
u:200 r:2 [2][7]
u:200 l:8 [3][5]
d:200 l...

result:

ok 291880 tokens

Test #24:

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

input:

1
24 10 2019
25 10 2019

output:

[4][6]

result:

ok "[4][6]"

Test #25:

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

input:

1
26 11 2100
6 7 1900

output:

u:200 l:4 [1][6]

result:

ok 3 tokens

Test #26:

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

input:

2
1 1 1900
31 12 2100
31 12 2100
1 1 1900

output:

d:200 r:11 [5][6]
u:200 l:11 [1][2]

result:

ok 6 tokens

Extra Test:

score: 0
Extra Test Passed