QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#633340#7034. HoneycombGuanYunchangWA 890ms69376kbC++203.8kb2024-10-12 15:07:332024-10-12 15:07:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5860kb

input:

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

output:

7

result:

ok single line: '7'

Test #2:

score: -100
Wrong Answer
time: 890ms
memory: 69376kb

input:

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

output:

91
132
7
37
44
36
21
146
340
67
9
3
167
479
9
202
20
23
435
14
19
30
82
21
27
88
525
19
326
89
8
357
181
181
17
153
111
144
9
32
80
31
151
11
62
12
20
29
28
7
46
46
115
7
51
58
38
527
171
151
77
153
6
127
130
58
93
276
59
71
50
342
150
15
17
52
22
205
27
24
12
97
502
244
216
72
120
38
105
44
7
313
1...

result:

wrong answer 3rd lines differ - expected: '8', found: '7'