QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#761583#7857. (-1,1)-SumpleteLH_FrankWA 1ms6152kbC++143.1kb2024-11-19 01:09:592024-11-19 01:10:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
+-+
-++
+-+
1 1 1
1 -1 3

output:

YES
001
001
111

result:

ok n=3

Test #2:

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

input:

3
---
-++
+++
-2 -1 0
-2 -1 0

output:

YES
110
100
000

result:

ok n=3

Test #3:

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

input:

3
+-+
-++
++-
1 0 2
2 2 -1

output:

NO

result:

ok n=3

Test #4:

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

input:

1
-
-1
1

output:

NO

result:

ok n=1

Test #5:

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

input:

1
-
0
0

output:

YES
0

result:

ok n=1

Test #6:

score: -100
Wrong Answer
time: 1ms
memory: 6028kb

input:

20
+-------+-----+++-++
-+-++++----++-++-++-
-+++--+---+--+-++---
-+++-+--+----++---+-
+++-+-++++++-+-+---+
-++-----+----++++++-
+-++--+++++-++-+----
+-+----+---+-+++--+-
+++++-+++++----+--+-
------++++---+--++--
++++--------++++--+-
-+-+-++++-+-++-++--+
---+-++---+-++-++---
+-++++-++----+-+++--
+-+...

output:

NO

result:

wrong answer Jury has the answer but participant has not