QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#405167#5652. ControllersZhaoZiLongRE 1ms3604kbC++20871b2024-05-05 12:59:262024-05-05 12:59:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3568kb

input:

8
+-+---+-
5
2 1
10 3
7 9
10 10
5 3

output:

YES
NO
NO
NO
YES

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

6
+-++--
2
9 7
1 1

output:

YES
YES

result:

ok 2 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

20
+-----+--+--------+-
2
1000000000 99999997
250000000 1000000000

output:

NO
YES

result:

ok 2 lines

Test #4:

score: -100
Runtime Error

input:

183132
+++-++-+++--+++++-+++---++++++-+-+-+---++++--+++++-+++++-+-+-++-++-++-+++--+++++++-+++++--++-+++-+++-+-++--++++-++++-+++-++++-+-+++++-----+++-++++++++++-++++++++++++++-+++-+-++++---++-++++---+++++++--++++-++++-+-+-+++++-+---+-++++-++++-++-+++++++++-++---++++++++++++-+++-++++++-+++-+-+++++++++...

output:


result: