QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#316914#8167. Yet Another Simple Math Problemucup-team2177#TL 0ms3740kbC++232.5kb2024-01-28 06:37:342024-01-28 06:37:34

詳細信息

Test #1:

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

input:

3
6
1
101

output:

4
0
83

result:

ok 3 tokens

Test #2:

score: -100
Time Limit Exceeded

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:

73412
32761
16900
47524
12769
6400
30976
81335
77362
80656
72655
17347
37249
77284
74378
65091
63001
5929
61039
88209
1780
65193
55696
56233
27889
88209
65025
20449
41209
91734
39601
86436
83216
14410
76176
47089
10697
39340
52441
22066
53361
720
98596
5918
21807
31329
98630
60812
17741
91204
6889
4...

result: