QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#798795#8776. Not Another Constructive!HuangHanShengWA 22ms126532kbC++141.9kb2024-12-04 17:05:172024-12-04 17:05:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 21ms
memory: 126484kb

input:

22 2
N??A??????C???????????

output:

NBNABBBBBBCBBBBBBBBBBB

result:

ok correct

Test #2:

score: 0
Accepted
time: 18ms
memory: 125332kb

input:

18 0
COUNTINGSATELLITES

output:

COUNTINGSATELLITES

result:

ok correct

Test #3:

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

input:

2 1
??

output:

-1

result:

ok correct

Test #4:

score: 0
Accepted
time: 16ms
memory: 125820kb

input:

1 0
?

output:

B

result:

ok correct

Test #5:

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

input:

1 0
N

output:

N

result:

ok correct

Test #6:

score: 0
Accepted
time: 16ms
memory: 126208kb

input:

1 0
X

output:

X

result:

ok correct

Test #7:

score: 0
Accepted
time: 16ms
memory: 124920kb

input:

1 1
?

output:

-1

result:

ok correct

Test #8:

score: 0
Accepted
time: 22ms
memory: 126400kb

input:

1 1
N

output:

-1

result:

ok correct

Test #9:

score: 0
Accepted
time: 16ms
memory: 125248kb

input:

1 1
X

output:

-1

result:

ok correct

Test #10:

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

input:

2 0
??

output:

BB

result:

ok correct

Test #11:

score: 0
Accepted
time: 12ms
memory: 125288kb

input:

2 0
N?

output:

NB

result:

ok correct

Test #12:

score: 0
Accepted
time: 20ms
memory: 125324kb

input:

2 0
?C

output:

BC

result:

ok correct

Test #13:

score: 0
Accepted
time: 15ms
memory: 125340kb

input:

2 1
N?

output:

-1

result:

ok correct

Test #14:

score: 0
Accepted
time: 20ms
memory: 125552kb

input:

2 1
?C

output:

-1

result:

ok correct

Test #15:

score: 0
Accepted
time: 12ms
memory: 126240kb

input:

3 1
???

output:

NAC

result:

ok correct

Test #16:

score: 0
Accepted
time: 22ms
memory: 126348kb

input:

3 1
N??

output:

NAC

result:

ok correct

Test #17:

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

input:

3 1
?A?

output:

NAC

result:

ok correct

Test #18:

score: 0
Accepted
time: 16ms
memory: 125476kb

input:

3 1
??C

output:

NAC

result:

ok correct

Test #19:

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

input:

3 1
NA?

output:

NAC

result:

ok correct

Test #20:

score: 0
Accepted
time: 12ms
memory: 125912kb

input:

3 1
N?C

output:

NAC

result:

ok correct

Test #21:

score: 0
Accepted
time: 12ms
memory: 125304kb

input:

3 1
?AC

output:

NAC

result:

ok correct

Test #22:

score: 0
Accepted
time: 15ms
memory: 125792kb

input:

4 1
????

output:

BNAC

result:

ok correct

Test #23:

score: 0
Accepted
time: 20ms
memory: 125352kb

input:

4 1
X???

output:

XNAC

result:

ok correct

Test #24:

score: 0
Accepted
time: 12ms
memory: 125476kb

input:

4 1
???Z

output:

NACZ

result:

ok correct

Test #25:

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

input:

4 1
?AA?

output:

-1

result:

ok correct

Test #26:

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

input:

4 1
N???

output:

NACB

result:

ok correct

Test #27:

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

input:

4 1
?N??

output:

BNAC

result:

ok correct

Test #28:

score: 0
Accepted
time: 19ms
memory: 125392kb

input:

4 1
??N?

output:

NANC

result:

ok correct

Test #29:

score: 0
Accepted
time: 12ms
memory: 125724kb

input:

4 1
???N

output:

NACN

result:

ok correct

Test #30:

score: -100
Wrong Answer
time: 11ms
memory: 126532kb

input:

4 1
A???

output:

-1

result:

wrong answer returned false