QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#400761#7857. (-1,1)-Sumpleteucup-team3255WA 1ms7984kbC++202.2kb2024-04-27 15:56:402024-04-27 15:56:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

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

output:

YES
110
100
000

result:

ok n=3

Test #3:

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

input:

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

output:

No

result:

ok n=3

Test #4:

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

input:

1
-
-1
1

output:

NO

result:

ok n=1

Test #5:

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

input:

1
-
0
0

output:

YES
0

result:

ok n=1

Test #6:

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

input:

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

output:

No

result:

wrong answer Jury has the answer but participant has not