QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#356218#1096. Best Solution UnknownwaifuSenpai#RE 1ms7712kbC++202.9kb2024-03-17 16:47:402024-03-17 16:47:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 1ms
memory: 5580kb

input:

3
1 2 1

output:

1
2 

result:

ok 2 number(s): "1 2"

Test #3:

score: 0
Accepted
time: 1ms
memory: 7712kb

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: 1ms
memory: 7680kb

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: