QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#49952#872. Joyful NumbersZhaoZiLongTL 1ms1836kbC++112.4kb2022-09-24 12:31:482022-09-24 12:31:49

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 1836kb

input:

2
1
4

output:

1
2

result:

ok 2 number(s): "1 2"

Test #2:

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

input:

1
1000000000

output:

7

result:

ok 1 number(s): "7"

Test #3:

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

input:

10
1
2
3
4
5
6
7
8
9
10

output:

1
2
2
2
3
3
2
2
3
3

result:

ok 10 numbers

Test #4:

score: -100
Time Limit Exceeded

input:

10
999999991
999999992
999999993
999999994
999999995
999999996
999999997
999999998
999999999
1000000000

output:


result: