QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#384689#4474. 田野ahihi123470 3993ms5212kbC++203.5kb2024-04-10 10:26:422024-04-10 10:26:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted
time: 1886ms
memory: 3976kb

input:

1
-1000000000 1000000000 1000000000 -1000000000

output:

5656854249.4923801422

result:

ok found '5656854249.4923801', expected '5656854249.4923801', error '0.0000000'

Test #2:

score: 5
Accepted
time: 2624ms
memory: 4012kb

input:

2
-1000000000 0 999999999 0
1000000000 -1000000000 1000000000 1000000000

output:

6472135954.9995794296

result:

ok found '6472135954.9995794', expected '6472135954.9995794', error '0.0000000'

Test #3:

score: 5
Accepted
time: 3609ms
memory: 4100kb

input:

10
-867607193 -135305141 -999975171 -385697275
-207651264 -335450820 -18330141 155632154
144287982 -829501401 22484074 -866061913
18915124 -494052070 651651130 -848383053
-633121247 -339495409 -300607566 -719982203
252936986 77462552 574102244 243741641
-154713286 287468543 -95274042 297524911
74765...

output:

5067066405.4110431671

result:

ok found '5067066405.4110432', expected '5067066405.4110432', error '0.0000000'

Test #4:

score: 5
Accepted
time: 3796ms
memory: 3992kb

input:

15
-701938148 410589899 -652838309 549524200
377170320 731397800 384016279 739851156
-803225357 -275587279 -855622682 -258807623
-461690205 -492333831 -478066974 -502172799
244418298 768936733 189258546 797657836
301312803 -876384453 228146524 -877610003
853904999 -72058511 845162124 147849287
52159...

output:

2687409271.1738834381

result:

ok found '2687409271.1738834', expected '2687409271.1738830', error '0.0000000'

Test #5:

score: 5
Accepted
time: 3792ms
memory: 4160kb

input:

15
966028128 102749384 733159511 58111526
-183840981 -964762635 -25486217 -825885826
-453941617 685131856 -281117787 771697794
-560866145 3228988 -460246687 -157493879
-505599627 384217912 -220842902 401980214
-106976421 -161301927 -69655148 -237567980
-31954849 -347961087 376791221 -645856636
-1224...

output:

6449155267.9392757416

result:

ok found '6449155267.9392757', expected '6449155267.9392805', error '0.0000000'

Test #6:

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

input:

15
-903973104 -777472938 -785792391 -870617608
576325989 -720374483 647995915 -794981301
-446193955 -599301915 -600026056 -917460300
-74534548 -764576158 49017894 -993103394
-649359180 -52819916 -863419327 -20307493
-719005679 946959735 -320308895 778640464
-127910017 542267821 -129878083 369452273
...

output:

6429373450.2344961166

result:

ok found '6429373450.2344961', expected '6429373450.2345009', error '0.0000000'

Test #7:

score: 5
Accepted
time: 3986ms
memory: 4092kb

input:

30
563190122 -333957865 587363636 -511951394
-341513881 556110360 -391270579 448867589
-580988311 202835556 -641462468 201801587
-641909308 -89360069 -424820406 -31441513
-668445424 -524183791 -703462742 -551506048
-486708894 495524165 -433848012 505247970
563360717 342208651 553617010 369986228
-15...

output:

5338349938.1692066193

result:

ok found '5338349938.1692066', expected '5338349938.1692104', error '0.0000000'

Test #8:

score: 5
Accepted
time: 3961ms
memory: 4156kb

input:

30
-617035814 -243852910 -643016843 -386302613
-521949648 451322869 -534737523 441069888
244964812 565768549 249878711 654422570
-570701784 -224146049 -624506481 -147058003
662685492 -445381559 661837455 -438026356
821872936 -268292925 823114477 -269278533
448432996 367014868 387700714 474445193
-24...

output:

2708337662.4617414474

result:

ok found '2708337662.4617414', expected '2708337662.4617419', error '0.0000000'

Test #9:

score: 5
Accepted
time: 3964ms
memory: 4028kb

input:

30
-700372633 349585810 -734239027 364390186
616660629 360045833 600828509 354913534
-405308070 -730574006 -362956442 -733507828
-27864070 -203748513 -15799887 -202160289
-849914317 501674730 -846373112 489653852
-113670774 -567834985 34910184 -317365401
448428803 -683743895 279317770 -900269109
132...

output:

3788368896.4453215599

result:

ok found '3788368896.4453216', expected '3788368896.4453225', error '0.0000000'

Test #10:

score: 0
Wrong Answer
time: 3847ms
memory: 4084kb

input:

60
-706196624 688293210 -749262369 607283470
-755795349 -177771981 -812791761 -148115792
-440949389 896060692 -440949206 896060884
-720774944 -241167647 -717609845 -140282595
-655915150 -270108563 -678368432 -188235621
-250942529 -867189662 -367458339 -830038651
465902816 -483827880 550273484 -53203...

output:

5233673066.5603170395

result:

wrong answer 1st numbers differ - expected: '5218150472.4336452', found: '5233673066.5603170', error = '0.0029747'

Test #11:

score: 0
Wrong Answer
time: 3945ms
memory: 4192kb

input:

60
270223333 -827732432 320140702 -806241065
758242372 8011654 856329836 122814302
370823194 705991854 365108216 671028192
146957178 -10966770 164365056 -10752231
55683878 98405833 89829204 74479383
-692737125 -23863403 -690572070 -25650187
477873398 784766154 478331142 787715237
-481182423 82904871...

output:

4271506608.6677694321

result:

wrong answer 1st numbers differ - expected: '4253403570.0983386', found: '4271506608.6677694', error = '0.0042561'

Test #12:

score: 5
Accepted
time: 3788ms
memory: 4272kb

input:

120
-886544424 -292694094 -859558450 -312851032
-667163208 619209056 -721718464 562287913
638324357 289932734 629193460 290213764
-797563076 -522380262 -857423342 -407136562
202487837 838686830 199965679 840536787
20023166 -785965550 -42471130 -798633956
864684737 310169662 869607678 305850161
-7183...

output:

3835635809.2426409721

result:

ok found '3835635809.2426410', expected '3835635809.2426391', error '0.0000000'

Test #13:

score: 5
Accepted
time: 3724ms
memory: 4148kb

input:

120
298023213 -814110036 297912159 -815531428
-336175395 -690381883 -373187432 -712274349
-86033840 -96471910 -88840401 -108524048
-336342055 -606092440 -380794865 -711945405
-293512959 605526234 -293294727 605749984
-561313179 -725676639 -547702272 -744795632
228018677 -847198786 223547062 -8371406...

output:

2319940053.5254817009

result:

ok found '2319940053.5254817', expected '2319940053.5254827', error '0.0000000'

Test #14:

score: 0
Wrong Answer
time: 3880ms
memory: 4596kb

input:

200
34716561 39764672 22061080 55228896
-660377419 -517382474 -648719318 -509390525
248043028 -719480151 234568231 -729862796
914074638 -296468015 912617659 -292531065
-179503730 686875937 -214692756 677581205
901127673 -325076730 922054086 -316472783
628379206 -276086051 624933640 -277844717
-63305...

output:

5098546602.2604675293

result:

wrong answer 1st numbers differ - expected: '5041940597.2889709', found: '5098546602.2604675', error = '0.0112270'

Test #15:

score: 5
Accepted
time: 3840ms
memory: 4640kb

input:

200
-648655118 485242756 -640268166 464216367
142113755 882514020 148510069 898417414
886536945 106308233 886588559 106298241
-26687092 -102032857 94318632 -132787104
627156481 289595280 629898734 290494180
-738670937 536716657 -734997982 516780084
-862427536 -350218810 -869151256 -369146481
4857223...

output:

5043785576.0019102097

result:

ok found '5043785576.0019102', expected '5043785576.0019131', error '0.0000000'

Test #16:

score: 0
Wrong Answer
time: 3801ms
memory: 4924kb

input:

250
360058890 -509916580 362840740 -502798222
-153142076 -451225083 -154286295 -450458735
-145089509 -442879163 -146211934 -442815652
-149081151 -456375357 -149424687 -455261021
-144859476 -447637905 -144758560 -447049609
-139617574 -444471402 -139107427 -443020558
-140494028 -451516073 -140751822 -...

output:

1393492051.2283670902

result:

wrong answer 1st numbers differ - expected: '919773883.3581572', found: '1393492051.2283671', error = '0.5150376'

Test #17:

score: 0
Wrong Answer
time: 3803ms
memory: 4916kb

input:

250
-528811065 241636096 -613636288 251910156
-221306314 204956125 -213370730 243437534
291383450 -825802427 277855278 -795626156
-592876414 291637628 -608495289 285811926
-571847982 639685863 -594148296 635046244
-185532932 504345094 -205400609 548035836
369411279 -564038501 356501820 -573487119
32...

output:

4743075042.0825204849

result:

wrong answer 1st numbers differ - expected: '4717320788.9950237', found: '4743075042.0825205', error = '0.0054595'

Test #18:

score: 0
Wrong Answer
time: 3975ms
memory: 5212kb

input:

250
882404864 -404709152 882495270 -404026377
-499308889 -554511665 -503672206 -564315794
-819283873 173792308 -756036150 196583327
516554385 484829217 516786252 484401886
628666422 -330547156 629033426 -330853360
-439540235 -662683346 -439540240 -662683346
-868794934 429824491 -828645865 423604009
...

output:

5724446885.8942108154

result:

wrong answer 1st numbers differ - expected: '5659561594.3573656', found: '5724446885.8942108', error = '0.0114647'

Test #19:

score: 5
Accepted
time: 3993ms
memory: 5144kb

input:

250
-710094825 225679673 -724832644 232603378
43683733 789976012 46051822 787436859
734469077 -215816300 725704486 -251773653
-50310640 -949401697 -45367850 -941983430
-551675487 -407664660 -551650763 -407427033
-893771887 440177415 -879090651 444788065
-62920700 746316028 -49818147 772004425
853046...

output:

5283056855.3334264755

result:

ok found '5283056855.3334265', expected '5283056855.3334255', error '0.0000000'

Test #20:

score: 5
Accepted
time: 3857ms
memory: 5012kb

input:

250
-134972136 812047845 -150911216 804857235
767175823 -529342142 764965127 -547065448
160390601 -811935875 142271734 -811944545
701373268 471579750 701381436 463206949
683235534 346527072 683235534 346527077
-107488394 -802677629 -107604898 -776637892
-664644616 -593984627 -665046273 -586540240
11...

output:

5388845610.5669002533

result:

ok found '5388845610.5669003', expected '5388845610.5669041', error '0.0000000'