QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#305555#7857. (-1,1)-Sumpleteucup-team964WA 1ms7636kbC++203.2kb2024-01-15 16:23:002024-01-15 16:23:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 7576kb

input:

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

output:

YES
111
001
001

result:

ok n=3

Test #2:

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

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

input:

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

output:

NO

result:

ok n=3

Test #4:

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

input:

1
-
-1
1

output:

NO

result:

ok n=1

Test #5:

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

input:

1
-
0
0

output:

YES
0

result:

ok n=1

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 7636kb

input:

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

output:

NO

result:

wrong answer Jury has the answer but participant has not