QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#765965 | #7857. (-1,1)-Sumplete | csffm | TL | 740ms | 128808kb | C++23 | 4.1kb | 2024-11-20 15:48:26 | 2024-11-20 15:48:26 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3544kb
input:
3 +-+ -++ +-+ 1 1 1 1 -1 3
output:
YES 111 111 111
result:
ok n=3
Test #2:
score: 0
Accepted
time: 0ms
memory: 3688kb
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: 3576kb
input:
3 +-+ -++ ++- 1 0 2 2 2 -1
output:
NO
result:
ok n=3
Test #4:
score: 0
Accepted
time: 0ms
memory: 3412kb
input:
1 - -1 1
output:
NO
result:
ok n=1
Test #5:
score: 0
Accepted
time: 0ms
memory: 3404kb
input:
1 - 0 0
output:
YES 0
result:
ok n=1
Test #6:
score: 0
Accepted
time: 0ms
memory: 3408kb
input:
20 +-------+-----+++-++ -+-++++----++-++-++- -+++--+---+--+-++--- -+++-+--+----++---+- +++-+-++++++-+-+---+ -++-----+----++++++- +-++--+++++-++-+---- +-+----+---+-+++--+- +++++-+++++----+--+- ------++++---+--++-- ++++--------++++--+- -+-+-++++-+-++-++--+ ---+-++---+-++-++--- +-++++-++----+-+++-- +-+...
output:
YES 11110011111001101011 11111111111110110011 11110011111101101111 11111011011101110111 11111110111101110110 11110111111101101111 01001100111011111111 11110010111101110111 00011101111111111111 11110111111011111111 10001111111111101111 11111110010111111111 11110111011011011001 11111111111011111111 11...
result:
ok n=20
Test #7:
score: 0
Accepted
time: 1ms
memory: 3676kb
input:
100 ++++-+-+--++++++-+--+--++-+-+--+++++-+++---+-+-+-++-+-+++-------+-++--+-++--+--+++++-++-+---+--+--++ -++--++-+-++++-+---++-+-+-+-+-+-+-+-+--+-+--+--+++---+--+-----+-----+-++-++-+-++++++--+-+++-+++-++++ --+---++-++--++-+++-------+--+-++------+-----+--+----++++++++-+--+++++--++--+-+-+++---+--+++-+...
output:
YES 1111010100111111010010011010100111100000000000000000000000111101001011101100101111110110100010010011 0110011010111101000110101010101010101001000000000000000000001111100101110110110111110010111011101111 0010001101100110111000000010010100000000000000000001100000000111111010001100110011100010011101...
result:
ok n=100
Test #8:
score: 0
Accepted
time: 61ms
memory: 5224kb
input:
500 --+-+-+-++-----+++--+-+++-+---+-+-------+++--++++++-+--++--+-+-++++-++++--++--+---++--++----++--+---++-++--+-----+-+---++-++++-+++++++---++-++--+-++++-+----++-+++-+++---+--+++-+--++-++--+++++++-+++--+---+---+-+---++-+-+--+-+++-++-----+++-++-+++-+-++--++++++-+-++-+++---++-+++-++----+--+++----++++...
output:
YES 11010101001111100011010001011101011111110001100000010110011010100001000011001101110011001111001101110010010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
ok n=500
Test #9:
score: 0
Accepted
time: 740ms
memory: 128808kb
input:
4000 -++-+-+-+--+-++++---+-++------++---+-+++--+++--+++++++---+-++-+++++++----+---+++-++--++---+-++--+----+---+--++-+-+-+-----+-+---++-++--+---+++-++++-+-----++--++-++---++-+--+++-+--+--+-+-++-+++--++---+++-+-+---+++-++-+-++-+-+++---+++---+-+--++---+-+---+--+++--+----+-+--++---+-----+-+--+----+-+++-...
output:
YES 10011101011111111111111011111111111011011111011000111011111111110110111111111001100110111101101111111111101100101110111111101110010011011101111111111111111111011011110111110110110110101001111111111101011111111011111110111110111101111111011011110111110111001111111011110011111111101011011110101011...
result:
ok n=4000
Test #10:
score: -100
Time Limit Exceeded
input:
4000 +---+--++-+--++-+-++--+++--++--+++-+-+-+--++++++-++-+-+++-+---++++-+-+++----++-+---++--++--+++-----++---++-+--++++----++--++--+-+-++--+--+++++-+---+++-+++--++++-++-+++++++----+++-----+--++-+++-++-++-+++-+--++++++-+--++--+-+---++--------+-+--++----+-++-+-++---+--++--+-+--+-+++-+--+--++++-++----+...