QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#302016#7857. (-1,1)-Sumpleteucup-team138#WA 6ms12424kbC++171.8kb2024-01-10 15:25:582024-01-10 15:25:59

詳細信息

Test #1:

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

input:

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

output:

Yes
001
001
111

result:

ok n=3

Test #2:

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

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

input:

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

output:

No

result:

ok n=3

Test #4:

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

input:

1
-
-1
1

output:

No

result:

ok n=1

Test #5:

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

input:

1
-
0
0

output:

Yes
0

result:

ok n=1

Test #6:

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

input:

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

output:

Yes
01100000000000000000
01011000000000000000
10001000000000000000
10001011000000000000
11101011000000000000
10000000000000000000
01001000000000000000
01000000000000000000
00000000000000000000
11111000000001000000
00001111100001000101
01010000010001000100
00010111011001001101
10110000011001011001
01...

result:

ok n=20

Test #7:

score: 0
Accepted
time: 2ms
memory: 5328kb

input:

100
++++-+-+--++++++-+--+--++-+-+--+++++-+++---+-+-+-++-+-+++-------+-++--+-++--+--+++++-++-+---+--+--++
-++--++-+-++++-+---++-+-+-+-+-+-+-+-+--+-+--+--+++---+--+-----+-----+-++-++-+-++++++--+-+++-+++-++++
--+---++-++--++-+++-------+--+-++------+-----+--+----++++++++-+--+++++--++--+-+-+++---+--+++-+...

output:

Yes
1111010100111111010010011010100111110111000101010110000000000000000000000000000000000000000000000000
0110011010111101000110101010101010101001010010011100010010000010000010110110101000000000000000000000
0010001101100110111000000010010110000001000001001000011111110000000000000000000000000000000000...

result:

ok n=100

Test #8:

score: -100
Wrong Answer
time: 6ms
memory: 12424kb

input:

500
--+-+-+-++-----+++--+-+++-+---+-+-------+++--++++++-+--++--+-+-++++-++++--++--+---++--++----++--+---++-++--+-----+-+---++-++++-+++++++---++-++--+-++++-+----++-+++-+++---+--+++-+--++-++--+++++++-+++--+---+---+-+---++-+-+--+-+++-++-----+++-++-+++-+-++--++++++-+-++-+++---++-+++-++----+--+++----++++...

output:

No

result:

wrong answer Jury has the answer but participant has not