QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#877924#5349. 密钥nathan469078 211ms160164kbC++203.4kb2025-02-01 12:23:192025-02-01 12:23:20

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 3
Acceptable Answer
time: 1ms
memory: 83172kb

input:

5
1113
1

output:

0
3
7

result:

points 0.30 ok

Test #2:

score: 7
Acceptable Answer
time: 0ms
memory: 82532kb

input:

30
4567
15

output:

53
57
41

result:

points 0.70 ok

Test #3:

score: 7
Acceptable Answer
time: 3ms
memory: 83424kb

input:

900
9876
123

output:

0
1307
488

result:

points 0.70 ok

Test #4:

score: 7
Acceptable Answer
time: 3ms
memory: 83244kb

input:

60000
5566
60000

output:

0
8
120001

result:

points 0.70 ok

Test #5:

score: 7
Acceptable Answer
time: 2ms
memory: 83300kb

input:

99999
9988
50000

output:

0
1
3

result:

points 0.70 ok

Test #6:

score: 7
Acceptable Answer
time: 39ms
memory: 98496kb

input:

2000000
3479
1234567

output:

0
246933
3753076

result:

points 0.70 ok

Test #7:

score: 10
Accepted
time: 109ms
memory: 122300kb

input:

5000000
1010
999

output:

9999996
9994668
5329

result:

points 1.0 ok

Test #8:

score: 10
Accepted
time: 168ms
memory: 145344kb

input:

8000000
8888
888888

output:

15999988
1777780
14222219

result:

points 1.0 ok

Test #9:

score: 10
Accepted
time: 190ms
memory: 152508kb

input:

9000000
9753
3333333

output:

17999996
666669
17333328

result:

points 1.0 ok

Test #10:

score: 10
Accepted
time: 211ms
memory: 160164kb

input:

10000000
10000
7142857

output:

19999994
5714287
14285708

result:

points 1.0 ok