QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#315244#8167. Yet Another Simple Math Problemucup-team2189#WA 17ms3632kbC++20783b2024-01-27 09:26:252024-01-27 09:26:27

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
6
1
101

output:

4
0
83

result:

ok 3 tokens

Test #2:

score: -100
Wrong Answer
time: 17ms
memory: 3632kb

input:

100000
73697
33010
17110
47753
12905
6499
31281
81851
77880
81156
73047
17517
37475
77689
74726
65569
63357
6041
61519
88597
1857
65620
55973
56676
28171
88517
65432
20685
41538
92074
39812
86863
83657
14646
76700
47385
10860
39669
52855
22282
53629
751
99085
6000
22003
31593
99242
61157
17982
91695...

output:

72932
32761
16900
47524
12769
6400
30976
81239
77296
80656
72385
17179
37249
77284
74012
65035
63001
5929
61015
88209
1768
65043
55696
56179
27889
88209
65025
20449
41209
91236
39601
86436
82966
14404
76176
47089
10621
39220
52441
21922
53361
684
98596
5792
21627
31329
98604
60540
17699
91204
6889
4...

result:

wrong answer 1st words differ - expected: '73412', found: '72932'