QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125374#5652. ControllersZhangYiDeWA 14ms3680kbC++11694b2023-07-16 16:23:002023-07-16 16:23:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3492kb

input:

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

output:

YES
YES

result:

ok 2 lines

Test #3:

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

input:

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

output:

NO
YES

result:

ok 2 lines

Test #4:

score: -100
Wrong Answer
time: 14ms
memory: 3584kb

input:

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

output:

NO
NO
YES
NO
YES
NO
NO
NO
NO
NO
YES
NO
NO
YES
YES
NO
YES
NO
YES
YES
NO
YES
NO
NO
NO
NO
YES
NO
NO
NO
NO
YES
NO
NO
NO
NO
NO
NO
YES
YES
NO
NO
YES
YES
YES
NO
NO
YES
YES
YES
NO
NO
NO
NO
NO
NO
YES
NO
NO
YES
YES
YES
YES
YES
NO
YES
YES
NO
NO
NO
YES
NO
YES
NO
NO
NO
NO
YES
NO
YES
NO
NO
YES
NO
NO
NO
YES
NO
NO
...

result:

wrong answer 15th lines differ - expected: 'NO', found: 'YES'