QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#575532#5710. Solar Flightyaohaoyou0 246ms192512kbC++203.3kb2024-09-19 15:08:352024-09-19 15:08:36

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 7ms
memory: 26976kb

input:

1000 200 200 1000
657 836 23
962 796 47
497 305 25
837 161 23
220 575 33
697 109 37
401 221 43
883 211 46
727 461 26
681 209 28
413 14 49
664 986 27
431 222 47
307 121 38
638 560 45
801 149 24
878 61 36
761 356 43
839 413 32
931 573 35
218 195 46
201 697 25
951 778 21
705 905 42
861 391 23
582 718 2...

output:

6049
5822
2542
5950
1152
2947
2697
2357
1219
3428
1366
6013
6215
3869
2344
2630
2619
2303
4412
6066
6597
1631
6657
3093
3199
1315
2441
1501
6146
2171
3160
1032
2914
4234
692
5058
3177
3283
5036
1702
3169
1024
6614
1568
5133
2269
4032
877
6458
4609
6270
1564
877
3155
2783
3172
6136
4958
2563
3579
602...

result:

ok 1000 lines

Test #2:

score: 10
Accepted
time: 36ms
memory: 84384kb

input:

10000 4000 800 1000
75657 83836 780
11962 49796 629
89497 1305 816
49837 85161 195
28220 87575 587
68697 54109 882
68401 71221 247
51883 49211 198
76727 74461 213
88681 89209 368
94413 98014 967
53664 32986 885
46431 19222 982
74307 9121 350
1638 41560 377
95801 76149 593
75878 8061 102
17761 83356 ...

output:

66998
372651
71882
230931
117149
150398
355375
284731
10168
280887
314284
339928
385864
37803
408137
106909
273581
236358
396850
199550
414114
154206
241347
242637
89623
303605
301758
406078
286813
367590
279934
316532
315289
368177
294903
60588
306179
175416
178653
73606
123438
53572
263464
367797
...

result:

ok 1000 lines

Test #3:

score: 10
Accepted
time: 246ms
memory: 192512kb

input:

100000 70000 2000 1000
75657 83836 2448100
11962 49796 1600996
89497 1305 2781211
49837 85161 1601062
28220 87575 1329028
68697 54109 2237292
68401 71221 2499307
51883 49211 1775046
76727 74461 2974020
88681 89209 2445860
94413 98014 1700919
53664 32986 2402956
46431 19222 1747481
74307 9121 1615935...

output:

2934379373
2922891391
3515422029
1450321827
1129612500
3943378704
2626723334
2565897601
3834435831
2545857081
2191434562
2238840383
3935335833
2981615579
706657489
2832999972
3381170831
2019351908
2449239345
3300400809
3012385670
3834105878
3707015903
3470161116
985251429
3822861893
596146397
918148...

result:

ok 1000 lines

Test #4:

score: 0
Wrong Answer
time: 196ms
memory: 192392kb

input:

10000001 3000003 2000 1000
50 999947 783585127
95 999907 794505200
164 999891 680508956
229 999861 543263639
244 999849 889154272
325 999780 588428698
394 999749 596808712
460 999691 512172704
521 999670 646367223
592 999658 705991625
678 999565 664968144
767 999558 972852236
848 999494 964463766
93...

output:

1240513824931
1173388781740
0
712840060845
1318911118904
39152826164
763158769681
1217277671244
576924223978
549671580423
1150059359951
66314878130
1337783770468
534664640455
1352506482924
1177552008572
905271273726
320514241628
867265875305
0
1118906688022
1093648045220
1130577287344
1339307577419
...

result:

wrong answer 3rd lines differ - expected: '824850620980', found: '0'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%