QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#638023#7034. HoneycombZhangYiDeWA 184ms38816kbC++202.0kb2024-10-13 14:40:492024-10-13 14:40:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

7

result:

ok single line: '7'

Test #2:

score: -100
Wrong Answer
time: 184ms
memory: 38816kb

input:

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

output:

520
1513
8
210
133
276
145
3327
845
135
9
3
278
673
49
212
65
202
1354
66
727
91
609
22
53
3440
606
585
674
323
25
1694
544
620
136
298
640
518
11
105
1021
468
336
15
67
764
69
189
381
12
213
103
229
14
85
595
921
691
245
375
124
408
56
767
417
329
742
409
277
96
253
733
635
75
59
525
106
392
48
51
...

result:

wrong answer 1st lines differ - expected: '91', found: '520'