QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505539#5988. Revenge of the Pancakesxiaowuc120 ✓0ms3600kbC++171.2kb2024-08-05 05:59:412024-08-05 05:59:41

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 0ms
memory: 3528kb

input:

100
-
-+
+-
+++
--+-
-+++--++-
--+-+++++-
+--+--++--
--+-----+
++-++++
+--+-++---
-+-
+++-----++
+---+--+--
-+--+++++-
+--
--+-+--+--
++++++--+-
++++-++--+
++-
-----
++--------
++++-
---+++
+
--++--
+-++
++-+
-----+-++-
---+-+++--
-++-++---+
+--++
+---
+--++-++--
+++-+-+++-
-+-+
----+---++
----+-+++...

output:

Case #1: 1
Case #2: 1
Case #3: 2
Case #4: 0
Case #5: 3
Case #6: 5
Case #7: 5
Case #8: 6
Case #9: 3
Case #10: 2
Case #11: 6
Case #12: 3
Case #13: 2
Case #14: 6
Case #15: 5
Case #16: 2
Case #17: 7
Case #18: 4
Case #19: 4
Case #20: 2
Case #21: 1
Case #22: 2
Case #23: 2
Case #24: 1
Case #25: 0
Case #26:...

result:

ok 100 lines

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 0ms
memory: 3600kb

input:

100
-
-+
+-
+++
--+-
-++++++-+--+-+-+++++--+-+-+++--++----+++++++-----+-+-+--++-+-----++--------+-+--+----++-+-+--++-+-++
-++--+++-+----++----+++-+-+++-++---+-+--+-+-+-+-+++--+-+--+-+---++++---+-++--+-+---+-++--++-+-+--++-
---+++--+--++++++---+-+--+---
-----
--+-++-+-++---+---+--+---++----+-++--+-+-...

output:

Case #1: 1
Case #2: 1
Case #3: 2
Case #4: 0
Case #5: 3
Case #6: 49
Case #7: 61
Case #8: 13
Case #9: 1
Case #10: 45
Case #11: 39
Case #12: 3
Case #13: 46
Case #14: 48
Case #15: 49
Case #16: 56
Case #17: 54
Case #18: 0
Case #19: 29
Case #20: 1
Case #21: 49
Case #22: 50
Case #23: 46
Case #24: 50
Case #...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed