QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#622763#2058. GeneratorZhaoZiLongWA 402ms59936kbC++202.0kb2024-10-09 02:59:482024-10-09 02:59:49

详细

Test #1:

score: 100
Accepted
time: 126ms
memory: 42688kb

input:

6
2
3
4
5
6
10

output:

0/1
0/1
1/2
2/3
1/1
2/1

result:

ok 6 lines

Test #2:

score: 0
Accepted
time: 128ms
memory: 42916kb

input:

99
94
19
4
76
52
37
97
40
75
74
100
14
60
31
78
59
89
44
92
82
83
34
93
27
11
13
80
20
41
56
81
22
17
6
66
90
50
45
42
70
96
8
54
33
72
69
15
55
58
84
91
26
24
98
63
79
64
25
73
5
68
61
71
32
7
67
21
87
85
16
46
3
12
48
99
35
30
65
23
88
77
18
53
2
43
49
36
62
95
47
39
9
28
29
10
38
57
51
86

output:

73/8
3/1
1/2
55/7
98/15
21/4
232/25
67/12
164/21
54/7
236/25
7/3
120/17
49/11
172/21
7/1
26/3
79/14
9/1
183/22
191/23
53/11
109/12
13/3
2/1
13/6
90/11
25/8
72/13
55/8
91/11
7/2
20/7
1/1
15/2
209/24
19/3
81/14
73/13
146/19
28/3
5/4
105/16
52/11
77/10
145/19
8/3
109/16
113/16
192/23
215/24
37/9
32/9
2...

result:

ok 99 lines

Test #3:

score: 0
Accepted
time: 379ms
memory: 59792kb

input:

99900
2497
56404
6523
30336
50376
33939
26032
64717
62283
65761
18224
8180
26686
13140
14359
90006
9898
12282
27452
53030
85977
45808
86582
89595
63812
26485
57806
16240
74874
79832
4636
42205
46690
38615
89049
63950
80274
49942
69229
26034
80271
3047
30313
89598
11707
23950
88186
51506
71768
861
46...

output:

18052/367
1246399/5718
21953/281
532132/3279
355673/1723
621359/3634
431791/2864
752929/3236
1428721/6257
171141/730
88603/696
89482/1027
458/3
85105/781
191705/1683
2372429/8714
29016/305
155253/1469
232273/1500
572391/2705
222697/836
104026/527
2249917/8419
2357222/8675
369723/1600
110577/727
1290...

result:

ok 99900 lines

Test #4:

score: 0
Accepted
time: 378ms
memory: 59856kb

input:

100000
155541
198009
105518
161146
132835
172044
166131
134821
110072
125107
169612
177120
108842
187169
114090
187574
192638
143545
124045
139114
156203
142971
140782
135442
124239
129432
191922
122628
141173
123381
146106
111316
184341
116257
122268
191728
135172
159140
199982
107350
162038
124170...

output:

5059753/14318
7068247/17821
2956192/10067
5311864/14781
4063325/12399
5812767/15670
5536722/15181
4145743/12561
3133769/10460
623247/1957
5695747/15461
6053551/16095
1541907/5173
6537889/16933
3291308/10799
1311685/3394
6804989/17385
4525313/13306
3696657/11653
4332267/12932
1272248/3593
118454/349
...

result:

ok 100000 lines

Test #5:

score: 0
Accepted
time: 402ms
memory: 59860kb

input:

100000
209458
203448
220255
223464
231168
245378
206798
236615
253066
231210
231316
266518
266922
264440
244982
227787
217928
294832
245632
231034
294548
221820
259502
210774
278327
212732
217325
225475
266788
214091
243417
240897
225883
267948
221201
212838
254408
266610
233934
286982
292010
214776...

output:

7642477/18758
7338753/18263
8195025/19634
8363261/19900
1461859/3422
9519806/21659
7503719/18529
4525031/10475
9939828/22285
8772523/20534
4388919/10271
10679253/23353
2140399/4677
2112791/4637
2375097/5408
8587535/20248
8073375/19438
2048027/4267
9534743/21683
1752984/4105
6136049/12790
8276935/197...

result:

ok 100000 lines

Test #6:

score: 0
Accepted
time: 385ms
memory: 59916kb

input:

100000
366642
363392
340231
372030
312475
348650
387826
395915
309653
372000
304439
348387
397360
314207
357646
333912
305584
378486
399476
379903
347694
377488
392491
310911
394628
302797
322386
314253
328390
318192
383377
382785
345964
398128
381308
358771
378055
326898
323802
349259
328364
351592...

output:

16659366/31273
16450597/31012
7504459/14601
3398853/6334
13322059/26992
15534323/29871
18008393/32897
18540362/33543
13156691/26777
1416019/2639
12847062/26359
15515951/29845
9316681/16825
13426105/27134
16092440/30571
14623985/28712
12917179/26458
527459/975
9387119/16908
17499417/32291
15472141/29...

result:

ok 100000 lines

Test #7:

score: 0
Accepted
time: 396ms
memory: 59936kb

input:

100000
467700
440544
488378
428164
454364
408708
428398
451976
424732
429292
498191
472191
485700
451766
425732
472955
464032
470351
483485
458107
448423
426944
479291
423609
412772
495998
433417
484416
482579
486427
404538
429771
425589
417334
431639
434138
471105
443380
470390
496571
420069
421799...

output:

23382437/39043
5380517/9246
24846827/40640
1292066/2251
1604727/2717
1937245/3451
20687570/36031
22310192/37873
20446642/35757
6915339/12032
25556003/41397
23705261/39404
24653364/40427
22294115/37853
20512051/35832
23756911/39459
11562756/19379
23569681/39253
24504435/40276
22721030/38323
11029919/...

result:

ok 100000 lines

Test #8:

score: 0
Accepted
time: 198ms
memory: 43020kb

input:

100000
4
761
727
213
604
43
634
224
786
642
349
329
399
936
537
778
856
265
513
426
10
659
820
896
489
120
291
151
469
633
587
774
833
241
17
886
12
207
399
514
875
794
848
619
168
126
250
399
117
428
655
301
323
114
455
439
181
951
668
268
235
288
567
433
167
765
943
226
181
933
693
776
19
968
749
...

output:

1/2
3691/135
3466/129
673/47
1351/55
39/7
577/23
179/12
3818/137
2925/116
261/14
1201/66
779/39
2407/79
769/33
3780/137
4288/147
113/7
2177/97
846/41
2/1
3049/120
4025/141
2287/77
2041/93
307/30
1028/61
107/9
1952/91
2884/115
2596/107
3772/137
4149/145
804/53
20/7
4511/153
11/5
645/46
779/39
2178/97...

result:

ok 100000 lines

Test #9:

score: -100
Wrong Answer
time: 395ms
memory: 59204kb

input:

100000
214558
316948
43412
540246
510686
359850
665658
775546
285648
707546
27313
736723
102978
36849
796518
860888
716296
547538
760991
399792
662412
735385
37269
706347
597643
895695
892566
864633
12414
386663
309338
618245
664488
318028
466126
530694
292189
401602
387691
684950
859575
951977
3347...

output:

7903722/19175
13590897/27353
290206/1509
28616566/44589
3306480/5293
2705629/5125
38309573/53999
47445577/62139
3922349/8298
-794322098134317097/24161979052671768
461410/2989
44164724/59283
952943/3284
694964/3907
2669189294287433151/11402149154246512
1201490304092556985/-21480897509943964
-88814824...

result:

wrong answer 10th lines differ - expected: '41725271/57112', found: '-794322098134317097/24161979052671768'