QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#295836#7651. 傅里叶与交通规划chenliyan#5 163ms6372kbC++14723b2024-01-01 12:07:462024-07-04 03:16:26

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 163ms
memory: 3808kb

input:

0 149997 245221
260130

-353413 28107 189392 258734
122083 -105519 88981 -462313
62982 -221175 258110 442570
177977 -216904 -444299 246103
134500 179401 -402939 -459279
98037 -470438 -69318 43668
-204852 443991 -303144 -468157
-19237 -321861 40988 -450597
298668 -155343 -121990 491091
-446262 2335 -...

output:

3.1540203
1.5899780
3.5024447
4.4257343
4.7961594
2.7789667
4.1205280
0.7705743
4.3515523
0.7870737
2.4118326
3.2456478
4.0330151
2.3213061
1.2443265
4.1364728
2.0623927
2.4380334
2.2903544
2.6860098
3.0562431
3.4551364
3.9401316
2.4138675
4.7595720
3.0978587
0.3726271
0.3121225
1.3434412
2.1934826
...

result:

ok 149997 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 4100kb

input:

0 100 180744
464809

345260 -467272 -358539 328967
-47960 301643 54141 -6592
-43596 319458 -354462 -459419
-92196 310800 -85882 335949
153982 440647 336749 -116156
101998 -66169 149181 43052
-149130 -353 -398781 416947
-291725 221463 -136712 391161
105694 -5114 87525 234469
21942 -235999 209836 6442...

output:

8.2992409
2.2702607
6.0292071
0.1740749
4.0918094
0.8653344
3.6900312
1.7965244
1.4260612
2.7017107
2.8696444
4.1698424
3.8748451
4.1817875
4.6294483
3.6234840
3.7611705
2.1718121
3.8267826
1.2287766
4.1037213
2.5229607
2.9655369
4.4272728
3.6364637
2.5248418
5.3837250
6.7080014
4.9762150
6.2510180
...

result:

ok 100 numbers

Test #3:

score: 0
Accepted
time: 1ms
memory: 4080kb

input:

0 96 112916
108050

-365188 332547 492134 -36526
-104666 473952 170125 173190
-234758 166079 187562 394112
-60172 -420595 -214538 460150
10825 55480 -120065 416458
351912 -140831 -73406 308683
-217445 -459449 51277 -72378
-176912 150232 144434 162328
-50628 -400429 -319790 -371228
327358 480500 3347...

output:

10.8611269
5.0971784
5.7596178
9.1670888
4.3560523
7.7476354
5.8077952
2.9530093
2.6423448
3.1672217
4.3537674
4.6001364
8.2863013
2.4813224
9.7000779
5.1110206
1.8904495
11.1696394
11.2430834
9.6778933
11.3119398
5.8047044
6.7050108
2.6043076
2.2952195
6.7631337
3.4482978
6.1684172
5.3833646
4.8179...

result:

ok 96 numbers

Test #4:

score: 0
Accepted
time: 1ms
memory: 4080kb

input:

0 98 22895
91189

-107939 77752 -276636 60647
386902 -56253 293764 -430313
231497 65839 344043 304956
-391967 441156 -160698 -32346
-64780 -107106 -221509 484371
-91709 224130 432009 480623
-489838 249592 -392494 -46576
-467214 -156595 -15098 -382701
-34447 443533 154513 317948
8797 -276399 434059 7...

output:

8.1153964
20.4061149
15.3598166
30.7827473
32.6798864
34.0777899
17.1876829
29.6231492
13.7385892
33.9194584
21.4649050
45.5385892
63.7126010
37.0907185
44.3164010
31.2846473
36.3166193
30.5621751
14.7942345
34.3728762
43.0456432
9.6039747
19.6259009
41.2274732
36.5556235
28.2341123
15.4209653
4.889...

result:

ok 98 numbers

Test #5:

score: 0
Accepted
time: 1ms
memory: 4084kb

input:

0 100 150548
10776

-338992 -479131 59003 172812
-231402 248648 269139 168600
-447255 262673 -479943 129977
266443 -494085 -99721 -439611
-328970 -239053 151827 -95253
144393 282865 221465 477090
265238 -268953 117580 107627
-320233 -224623 -394376 -382842
260411 288143 362003 -231710
-327178 195775...

output:

6.9741079
3.8565042
1.0985466
2.7940458
4.1488230
1.8020631
3.4821984
1.5434413
4.1278861
1.5429298
5.6555251
2.3154210
7.0038792
2.4785118
4.8917555
6.3471185
8.7458219
3.3219239
1.2772538
2.9259040
4.0324548
5.1550934
7.3504597
6.1336119
6.3219040
5.3144313
4.8899620
4.3717220
8.0818809
8.2335733
...

result:

ok 100 numbers

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 1ms
memory: 3920kb

input:

993 999 316326
-496532 -496093 -495620 -492330 -492168 -490309 -490221 -489706 -489674 -488540 -487445 -487205 -487063 -486731 -486636 -486525 -483675 -483348 -482170 -480225 -478996 -477851 -477476 -476245 -474426 -473611 -473054 -472532 -470524 -470223 -469519 -469003 -468790 -468648 -468210 -4680...

output:


result:

wrong output format Unexpected end of file - double expected

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 16ms
memory: 6360kb

input:

149928 149904 81074
-499992 -499987 -499981 -499968 -499965 -499961 -499949 -499941 -499940 -499933 -499925 -499923 -499911 -499899 -499893 -499892 -499877 -499868 -499865 -499858 -499852 -499849 -499845 -499838 -499837 -499836 -499826 -499822 -499819 -499815 -499803 -499801 -499797 -499785 -499783 ...

output:


result:

wrong output format Unexpected end of file - double expected

Subtask #4:

score: 0
Skipped

Dependency #3:

0%

Subtask #5:

score: 0
Wrong Answer

Test #27:

score: 0
Wrong Answer
time: 15ms
memory: 6308kb

input:

149957 149927 72015
-499992 -499989 -499986 -499981 -499980 -499970 -499957 -499950 -499947 -499937 -499929 -499928 -499925 -499915 -499913 -499905 -499885 -499881 -499868 -499859 -499856 -499852 -499848 -499839 -499835 -499828 -499821 -499815 -499814 -499809 -499808 -499799 -499797 -499792 -499783 ...

output:


result:

wrong output format Unexpected end of file - double expected

Subtask #6:

score: 0
Wrong Answer

Test #34:

score: 0
Wrong Answer
time: 13ms
memory: 6372kb

input:

149278 149093 342851
-499997 -499996 -499993 -499975 -499974 -499969 -499955 -499954 -499942 -499939 -499935 -499934 -499926 -499905 -499901 -499895 -499893 -499883 -499882 -499872 -499865 -499862 -499859 -499815 -499807 -499805 -499799 -499779 -499765 -499755 -499741 -499736 -499729 -499701 -499688...

output:


result:

wrong output format Unexpected end of file - double expected

Subtask #7:

score: 0
Wrong Answer

Test #43:

score: 0
Wrong Answer
time: 17ms
memory: 6348kb

input:

149990 149944 141363
-499995 -499994 -499993 -499990 -499956 -499950 -499947 -499924 -499921 -499916 -499914 -499888 -499876 -499870 -499869 -499863 -499855 -499848 -499846 -499837 -499836 -499833 -499832 -499815 -499813 -499799 -499787 -499775 -499770 -499769 -499767 -499766 -499762 -499757 -499753...

output:


result:

wrong output format Unexpected end of file - double expected

Subtask #8:

score: 0
Skipped

Dependency #2:

0%

Subtask #9:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #4:

0%