QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#879564#7663. Loop Invariantucup-team5957#WA 11ms14144kbC++201.2kb2025-02-02 06:12:192025-02-02 06:12:19

详细

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: 10ms
memory: 14144kb

input:

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

output:

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

result:

ok OK possible

Test #4:

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

input:

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

output:

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

result:

ok OK possible

Test #5:

score: 0
Accepted
time: 8ms
memory: 14068kb

input:

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

output:

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

result:

ok OK possible

Test #6:

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

input:

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

output:

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

result:

ok OK possible

Test #7:

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

input:

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

output:

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

result:

ok OK possible

Test #8:

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

input:

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

output:

no

result:

ok OK no

Test #9:

score: 0
Accepted
time: 11ms
memory: 14112kb

input:

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

output:

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

result:

ok OK possible

Test #10:

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

input:

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

output:

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

result:

ok OK possible

Test #11:

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

input:

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

output:

no

result:

ok OK no

Test #12:

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

input:

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

output:

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

result:

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