QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#242669#7034. HoneycombdXqwq#RE 311ms146100kbC++232.2kb2023-11-07 16:15:102023-11-07 16:15:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 4ms
memory: 32236kb

input:

1
3 4
  +---+       +---+
 /     \     /     \
+       +---+       +---+
 \           \     /     \
  +   +   S   +---+   T   +
 /     \     /           /
+       +---+       +   +
 \           \     /     \
  +---+       +---+       +
 /                       /
+       +---+       +   +
 \         ...

output:

7

result:

ok single line: '7'

Test #2:

score: 0
Accepted
time: 311ms
memory: 146100kb

input:

400
67 89
  +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       ...

output:

91
132
8
71
57
51
83
151
400
67
9
3
196
597
33
212
49
29
527
20
23
51
280
22
40
91
541
33
488
125
13
357
263
220
47
182
293
254
11
82
97
39
176
15
65
13
65
75
32
9
60
77
152
14
69
110
45
555
191
173
109
207
7
225
232
97
108
326
118
79
78
414
222
44
31
58
47
228
32
48
15
133
521
350
242
85
201
48
105...

result:

ok 400 lines

Test #3:

score: -100
Runtime Error

input:

2
1000 1000
  +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+       +---+     ...

output:


result: