QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#356206#1096. Best Solution UnknownwaifuSenpai#RE 2ms5628kbC++202.7kb2024-03-17 16:43:022024-03-17 16:43:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 5628kb

input:

3
3 2 2

output:

3
1 2 3 

result:

ok 4 number(s): "3 1 2 3"

Test #2:

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

input:

3
1 2 1

output:

1
2 

result:

ok 2 number(s): "1 2"

Test #3:

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

input:

5
1 2 3 5 5

output:

3
3 4 5 

result:

ok 4 number(s): "3 3 4 5"

Test #4:

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

input:

1
10

output:

1
1 

result:

ok 2 number(s): "1 1"

Test #5:

score: -100
Runtime Error

input:

1000000
1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 1000000000 100000...

output:


result: