QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#879565#7663. Loop Invariantucup-team5957#WA 13ms14820kbC++201.3kb2025-02-02 06:14:392025-02-02 06:14:40

详细

Test #1:

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

input:

(()())(()())

output:

no

result:

ok OK no

Test #2:

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

input:

()(())()

output:

(())()()

result:

ok OK possible

Test #3:

score: 0
Accepted
time: 9ms
memory: 14144kb

input:

((((()((()))))()))(()(((()((()()()())(()())(())()()((()))))(()))(((()(()))))))((((((((())(()))))()(((((((()(())()(((()())))())()(((()(((((()))(())))((())))(()(()))()))))((()))))((())(()(((((()(((())((((()()))((())))()))()))(()(((()))())())(()((())((()(()))(((()()()()))(())(())(()((((((()((()(((((()(...

output:

(()(((()((()()()())(()())(())()()((()))))(()))(((()(()))))))((((((((())(()))))()(((((((()(())()(((()())))())()(((()(((((()))(())))((())))(()(()))()))))((()))))((())(()(((((()(((())((((()()))((())))()))()))(()(((()))())())(()((())((()(()))(((()()()()))(())(())(()((((((()((()(((((()((()))()(((((()()))...

result:

ok OK possible

Test #4:

score: 0
Accepted
time: 9ms
memory: 14144kb

input:

()()()((()((()(()((()())((())))()((()))(())((())((((((((((()()))()(((((()))()((())(()())(((())()()(((())))()((()(()())(()()(())((()()())(()()((()())))))))())(()))))))((((((())(((())()(((((())()()(())()()))))()(()(()()))(()))(((()(()(()((()((()()))((())(())(())(((()(()))()())(()((()()()(()((((())((()...

output:

()()((()((()(()((()())((())))()((()))(())((())((((((((((()()))()(((((()))()((())(()())(((())()()(((())))()((()(()())(()()(())((()()())(()()((()())))))))())(()))))))((((((())(((())()(((((())()()(())()()))))()(()(()()))(()))(((()(()(()((()((()()))((())(())(())(((()(()))()())(()((()()()(()((((())((()((...

result:

ok OK possible

Test #5:

score: 0
Accepted
time: 9ms
memory: 14144kb

input:

()((()(())()(()()(((())((((()()()((()))))()(((()(()((()(()))))()(((((((())()((((()()(())()()()(()()()())))))()(()(()))((()))())(())(())((())((())((()(()(()))))))))(()((()))))())())(((())))()((())())()))()(()(()())(()())))(((()()((((()(()(((()())(((((()())())()((((()((((()()(((((())))))(((()))))())()...

output:

((()(())()(()()(((())((((()()()((()))))()(((()(()((()(()))))()(((((((())()((((()()(())()()()(()()()())))))()(()(()))((()))())(())(())((())((())((()(()(()))))))))(()((()))))())())(((())))()((())())()))()(()(()())(()())))(((()()((((()(()(((()())(((((()())())()((((()((((()()(((((())))))(((()))))())()()...

result:

ok OK possible

Test #6:

score: 0
Accepted
time: 10ms
memory: 14148kb

input:

(((())((())()(((((()())(((())()((())()))())))()()))(()((()())))((()))(()))((())(()()))()))((()(()()())(()((())(()(())()(((())))))(()()(()))(((((((())(()(())(())))))())()(((()))(((())()(((()())(()((())(((((((()()()))()))(()))())))()(((())((()))(((()(())(()()))()(()()((())))))()()))))(()()))()(((((()(...

output:

((()(()()())(()((())(()(())()(((())))))(()()(()))(((((((())(()(())(())))))())()(((()))(((())()(((()())(()((())(((((((()()()))()))(()))())))()(((())((()))(((()(())(()()))()(()()((())))))()()))))(()()))()(((((()((()((()(()()()()((()(((((())()((())()(()))))(()())))(()(()(()(()))(((()))))((()(())(())))(...

result:

ok OK possible

Test #7:

score: 0
Accepted
time: 10ms
memory: 14140kb

input:

(())(()(((((((()((((())))()(()())))))))())()()((((()()))))((()))()())((())((())))(()((()(()((()()(((())))()(()))())))((((()(()(()(((()))(()(((()((((())()(()(()(()()))((()))(((())()()))()((((((()()()()())(((()())((((()))))()))))))()((())))((()((((((())((()(())()))())(()))())()())))((((((((((()))))(((...

output:

(()(((((((()((((())))()(()())))))))())()()((((()()))))((()))()())((())((())))(()((()(()((()()(((())))()(()))())))((((()(()(()(((()))(()(((()((((())()(()(()(()()))((()))(((())()()))()((((((()()()()())(((()())((((()))))()))))))()((())))((()((((((())((()(())()))())(()))())()())))((((((((((()))))((()))(...

result:

ok OK possible

Test #8:

score: 0
Accepted
time: 10ms
memory: 13308kb

input:

((())((((()(((())(()()()))(())((()()()())(((((()))((())(()()())())))()(()(((()(()((()))((()))))))))))()()()(((()(((()())((()()(()(((((((())()()())))(())))))(()))))(()))))()())(((()))())(())(()())(()()())())))((((()()()(()))))(()))(((()()))))(()()((()(((())(((()())(((((()()()(((()()())()(()))(((()))(...

output:

no

result:

ok OK no

Test #9:

score: 0
Accepted
time: 9ms
memory: 13924kb

input:

(()(((()(()(())((()))))((((())))))))()((()()(((()(())))(()(()((()())()()()))(())()()))((()()((()()()((()())(()()(((()))()(((()(()((()()))()()(()(((())((((()())((()())()(()))(((()())()))((()(()())((()(())((())()))()((((()(())(()(((())((()))()()))()(()(())))((()(()((()))((()())())(()))))()))())))()())...

output:

()((()()(((()(())))(()(()((()())()()()))(())()()))((()()((()()()((()())(()()(((()))()(((()(()((()()))()()(()(((())((((()())((()())()(()))(((()())()))((()(()())((()(())((())()))()((((()(())(()(((())((()))()()))()(()(())))((()(()((()))((()())())(()))))()))())))()())))))(()()((((())(()()(((()))()()()((...

result:

ok OK possible

Test #10:

score: 0
Accepted
time: 10ms
memory: 14820kb

input:

(((()(((((())())()()(()())()()(()((((())(()(())((()))())(())()(()))(()(()(()))()()(((())))(()()(((()))()((()()))((((()))((()())(()())(((((((()((()(())(((())()()((())))()(((((())()))((())((((((())))()))(()(())(((()())))()()))((()))()(()(()()()))))((()()(()((()())())())))()(()))()((())())))(())(((()))...

output:

()()(((()(((((())())()()(()())()()(()((((())(()(())((()))())(())()(()))(()(()(()))()()(((())))(()()(((()))()((()()))((((()))((()())(()())(((((((()((()(())(((())()()((())))()(((((())()))((())((((((())))()))(()(())(((()())))()()))((()))()(()(()()()))))((()()(()((()())())())))()(()))()((())())))(())(((...

result:

ok OK possible

Test #11:

score: 0
Accepted
time: 13ms
memory: 13304kb

input:

(((()))((()(()((()((()((()()()()((())))))((())((()))(())(()()(((()(()())()((((()))))()()())(((())))(()()))))()((()))))()()))(())()(((())))(((((((((((((()())))())()(()(()()())()())()))()((((((()())()))()((()(((()(()()()()))()((()()(()())()()))))())()((()(((())))))))(()())(()(((())()()()()))))((()((((...

output:

no

result:

ok OK no

Test #12:

score: -100
Wrong Answer
time: 3ms
memory: 14144kb

input:

()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()...

output:

()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()...

result:

wrong answer Condition failed: "stringEqual(s, "no", false)"