QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#761587#7857. (-1,1)-SumpleteLH_FrankWA 1ms5948kbC++142.8kb2024-11-19 01:19:242024-11-19 01:19:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

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

output:

YES
110
100
000

result:

ok n=3

Test #3:

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

input:

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

output:

NO?

result:

wrong answer invalid output