QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#123321#5652. ControllersGuanYunchangWA 7ms3856kbC++920b2023-07-12 12:22:262023-07-12 12:22:30

詳細信息

Test #1:

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

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: 0ms
memory: 3504kb

input:

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

output:

YES
YES

result:

ok 2 lines

Test #3:

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

input:

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

output:

NO
YES

result:

ok 2 lines

Test #4:

score: -100
Wrong Answer
time: 7ms
memory: 3856kb

input:

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

output:

NO
NO
YES
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
YES
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
YES
NO
NO
NO
NO
YES
NO
NO
NO
NO
NO
NO
NO
NO
NO
YES
NO
NO
NO
YES
NO
YES
YES
NO
NO
NO
YES
NO
NO
NO
NO
NO
NO
YES
NO
YES
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
NO
Y...

result:

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