Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

spfa0
spfa1
spfa2
spfa3
spfa4
spfa5
spfa6
spfa7
spfa8
spfa9
spfa10
spfa11
spfa12
spfa13
spfa14
spfa15
spfa16
spfa17
spfa18
spfa19
spfa20
spfa21
spfa22
spfa23
spfa24
spfa25
spfa26
spfa27
spfa28
spfa29
spfa30
spfa31
spfa32
spfa33
spfa34
spfa35
spfa36
spfa37
spfa38
spfa39
spfa40
spfa41
spfa42
spfa43
spfa44
spfa45
spfa46
spfa47
spfa48
spfa49
spfa50
spfa51
spfa52
spfa53
spfa54
spfa55
spfa56
spfa57
spfa58
spfa59
spfa60
spfa61
spfa62
spfa63
spfa64
spfa65
spfa66
spfa67
spfa68
spfa69
spfa70
spfa71
spfa72
spfa73
jud
35
27
-16
153
128
-29
117
123
130
-11
80
12
-12
125
95
133
225
21
149
158
55
112
-31
53
16
155
267
68
25
185
93
20
-12
193
25
15
-16
74
107
-10
159
15
101
99
338
47
46
55
34
66
307
240
19
61
75
47
9
68
15
23
55
22
-29
62
20
80
-18
-34
73
63
90
-9
194
77
9
5
47
146
16
17
-13
56
56
17
43
7
52
213
246
182
120
139
68
35
-36
96
43
92
-14
-27
77
9
68
-10
69
146
68
13
4
61
20
15
194
-11
145
26
116
239
-6
26
123
-5
20

JOJ Answer

35
27
-16
153
128
-29
117
123
130
-11
80
12
-12
125
95
133
225
21
149
158
55
112
-31
53
16
155
267
68
25
185
93
20
-12
193
25
15
-16
74
107
-10
159
15
101
99
338
47
46
55
34
66
307
240
19
61
75
47
9
68
15
23
55
22
-29
62
20
80
-18
-34
73
63
90
-9
194
77
9
5
47
146
16
17
-13
56
56
17
43
7
52
213
246
182
120
139
68
35
-36
96
43
92
-14
-27
77
9
68
-10
69
146
68
13
4
61
20
15
194
-11
145
26
116
239
-6
26
123
-5
20