QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#878164#5349. 密钥nathan469097 210ms160020kbC++203.5kb2025-02-01 13:50:172025-02-01 13:50:18

詳細信息


Pretests


Final Tests

Test #1:

score: 10
Accepted
time: 2ms
memory: 83376kb

input:

5
1113
1

output:

1
2
7

result:

points 1.0 ok

Test #2:

score: 10
Accepted
time: 4ms
memory: 83944kb

input:

30
4567
15

output:

53
57
57

result:

points 1.0 ok

Test #3:

score: 10
Accepted
time: 1ms
memory: 82152kb

input:

900
9876
123

output:

1793
1307
488

result:

points 1.0 ok

Test #4:

score: 10
Accepted
time: 4ms
memory: 84544kb

input:

60000
5566
60000

output:

120001
8
120001

result:

points 1.0 ok

Test #5:

score: 7
Acceptable Answer
time: 6ms
memory: 83168kb

input:

99999
9988
50000

output:

199993
1
1

result:

points 0.70 ok

Test #6:

score: 10
Accepted
time: 43ms
memory: 98876kb

input:

2000000
3479
1234567

output:

4000001
246933
3753076

result:

points 1.0 ok

Test #7:

score: 10
Accepted
time: 108ms
memory: 123328kb

input:

5000000
1010
999

output:

9999996
9994668
5329

result:

points 1.0 ok

Test #8:

score: 10
Accepted
time: 164ms
memory: 145980kb

input:

8000000
8888
888888

output:

15999988
1777780
14222219

result:

points 1.0 ok

Test #9:

score: 10
Accepted
time: 194ms
memory: 154044kb

input:

9000000
9753
3333333

output:

17999996
666669
17333328

result:

points 1.0 ok

Test #10:

score: 10
Accepted
time: 210ms
memory: 160020kb

input:

10000000
10000
7142857

output:

19999994
5714287
14285708

result:

points 1.0 ok