QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#804308 | #9869. Horizon Scanning | ucup-team1123# | AC ✓ | 114ms | 6540kb | C++23 | 3.7kb | 2024-12-07 21:36:26 | 2024-12-07 21:36:29 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 4220kb
input:
5 1 1 0 1 8 2 1 0 1 1 0 1 -1 1 -1 0 -1 -1 0 -1 1 -1 4 2 -1 1 0 1 0 2 1 1 4 2 -1000000000 0 -998244353 1 998244353 1 1000000000 0 3 1 0 1 0 2 0 -1
output:
6.283185307179586232 1.570796326794896558 5.497787143782137953 3.141592654591551792 3.141592653589793116
result:
ok 5 numbers
Test #2:
score: 0
Accepted
time: 47ms
memory: 4264kb
input:
10000 16 1 -10 -6 -5 -6 -4 9 -2 5 -2 10 1 -7 1 -5 1 6 3 1 4 -9 6 -10 6 -3 6 1 8 -5 8 -4 9 -4 17 4 -9 2 -8 -4 -8 -3 -8 -1 -6 -2 -6 -1 -6 8 -5 -8 -5 10 -4 8 -2 -8 4 -9 4 0 5 -3 8 -5 9 -2 10 10 10 6 -7 2 -4 6 -2 -7 -2 -1 -1 7 1 -9 1 8 3 -4 7 -4 9 -2 14 3 -9 10 -8 -10 -8 -8 -6 -7 -6 -5 -1 -7 -1 -2 0 -1 ...
output:
1.6929914974862514399 2.5748634360662867593 4.6527582672535201525 2.7726331073839367569 5.7427658069090021797 4.8576989910203920431 3.4198923125949045598 2.8127999620848389561 6.2831853071795871202 6.283185307179586232 5.1172807666697730511 6.1467827027786388072 3.8420890235375195765 2.3424967168194...
result:
ok 10000 numbers
Test #3:
score: 0
Accepted
time: 48ms
memory: 4212kb
input:
10000 19 7 -10 -6 -10 5 -3 0 -2 -5 -1 1 -1 6 0 3 0 7 1 9 3 -3 3 3 3 8 4 -1 5 8 6 -3 7 -5 7 4 8 10 9 -5 15 15 -9 -1 -8 6 -7 9 -6 -3 -4 -9 -1 -3 -1 8 1 -8 1 -7 3 -2 3 1 6 -9 7 -10 7 0 10 -9 10 3 -7 -1 -6 -2 -6 10 -5 2 -4 2 -3 -7 -2 -9 1 -3 3 4 7 7 15 4 -8 -8 -8 8 -7 0 -7 10 -6 -7 -5 6 -1 -3 -1 0 1 -2 ...
output:
3.926990816987241395 6.283185307179586232 3.3602615994637350383 2.677945044588986967 3.7703889400052261749 1.7625844687816016876 3.8402524783112559348 5.497787143782137953 2.034443935795702707 1.8157749899217607847 4.3471875305965168579 6.1412882525754222129 5.176036589385495823 5.465540261346884420...
result:
ok 10000 numbers
Test #4:
score: 0
Accepted
time: 43ms
memory: 4264kb
input:
10000 18 12 -10 -4 -10 7 -8 -10 -7 -4 -6 5 -6 7 -5 0 -2 -7 -1 2 -1 10 0 2 1 1 3 -2 5 3 5 5 6 -3 8 -3 9 -2 10 1 -10 -9 -7 -7 -5 2 -4 -7 -3 1 3 1 3 3 5 -4 9 2 9 6 11 2 -8 1 -8 6 -7 -2 -6 0 -5 0 -1 -9 2 -8 3 5 6 0 10 -2 10 6 20 9 -10 -6 -10 6 -9 -8 -7 5 -6 -4 -4 -8 -2 -10 -2 -3 -2 4 -1 1 2 -5 3 -2 5 -6...
output:
4.909784540234570116 1.9756881130799799351 1.9868608325187193664 3.926990816987241395 3.6977588837102457475 6.283185307179586232 6.1412882525754222129 6.193871314186363719 5.8053542521874721416 6.2528915472608108672 5.7288778109780347236 3.0900918426385679538 1.89254688119153891 5.634189748183085377...
result:
ok 10000 numbers
Test #5:
score: 0
Accepted
time: 51ms
memory: 4220kb
input:
10000 19 7 -10 -1 -8 2 -7 -10 -6 6 -4 7 -3 -5 -3 1 -3 8 -2 4 -1 -7 0 -8 0 9 1 -10 2 1 2 3 3 5 6 -4 10 2 10 3 14 10 -8 2 -6 0 -5 -10 -5 10 -4 7 -3 -6 -2 -6 1 4 1 6 2 -1 3 -6 8 -4 9 -10 10 -1 12 8 -9 5 -7 2 -4 2 0 -2 0 5 1 6 3 2 4 9 5 5 7 -6 9 -9 9 2 19 12 -10 -10 -10 2 -9 -6 -8 2 -7 -5 -6 8 -4 1 -1 -...
output:
3.2393195609485117004 5.2757052418766576807 5.300391583932257511 5.387129922608242083 5.888394187479825348 4.117319356679148612 1.1383885512243590021 1.5152978215491796909 6.1476575931940855568 6.158830312632824544 2.5748634360662867593 5.9401613667588826218 1.6085142792617608265 4.60994512687756596...
result:
ok 10000 numbers
Test #6:
score: 0
Accepted
time: 44ms
memory: 4180kb
input:
10000 11 10 -10 -1 -9 4 -9 10 -7 -7 -5 4 -4 -1 -2 -10 0 -7 0 5 3 3 3 5 12 12 -9 6 -9 8 -3 -2 -2 2 0 -4 1 0 2 -3 3 5 5 -2 7 -1 10 3 10 9 14 12 -10 0 -9 -3 -9 1 -9 10 -8 -1 -8 7 -6 -1 -1 -6 -1 2 1 -1 3 -7 4 9 9 -3 10 1 10 4 -9 -3 -7 -1 -6 -10 -3 -2 -3 7 2 -2 2 3 5 2 6 9 9 6 10 2 -9 -9 -9 6 -8 3 -5 -9 ...
output:
6.1378752965438838629 6.283185307179586232 6.1180366297649593221 3.2003484763055158879 2.6537562149301510139 6.2537820189755812805 3.605240262590599265 3.5598169831690222864 1.5091461561556376303 5.9275494228788261353 6.2587998980068677568 2.6224465393432700999 4.3938333032966223612 5.49778714378213...
result:
ok 10000 numbers
Test #7:
score: 0
Accepted
time: 60ms
memory: 4264kb
input:
10000 14 1 -100 13 -96 -31 -82 -92 -77 -98 -50 1 -14 -57 -14 -31 -11 64 -8 75 9 68 25 100 54 -36 59 13 93 31 19 19 -76 -39 -60 95 -51 18 -39 11 -21 -46 -6 -94 -5 83 -3 -34 -3 72 0 -55 3 79 14 17 23 -88 32 37 50 70 61 -5 62 -43 84 -100 97 -50 13 7 -99 -63 -68 -87 -24 62 -20 -18 -2 -66 7 -49 13 -21 15...
output:
1.2713093974612792447 6.2831853071795871202 5.2225147207364983615 6.0030657035689163337 3.925872135464679058 5.5465289950920695361 3.2103149237117225567 3.0399300499237229545 4.2275317817944273457 3.0320196657368772009 2.1912152338181907218 3.0390080903677407775 4.3313271506355031093 6.2831853071795...
result:
ok 10000 numbers
Test #8:
score: 0
Accepted
time: 42ms
memory: 4196kb
input:
100 1413 755 -30 -30 -30 -28 -30 -27 -30 -26 -30 -21 -30 -12 -30 -10 -30 -8 -30 -5 -30 -1 -30 2 -30 4 -30 7 -30 9 -30 17 -30 19 -30 20 -30 23 -30 24 -30 30 -29 -29 -29 -23 -29 -15 -29 0 -29 4 -29 5 -29 9 -29 10 -29 11 -29 12 -29 14 -29 16 -29 17 -29 22 -29 27 -29 28 -28 -28 -28 -25 -28 -23 -28 -22 -...
output:
3.5891126287469630185 2.9797552223513701364 0.28379410920832781606 2.0350277068910931355 4.8879811423348700217 1.0040671092713902013 4.7457099762629368911 5.3255963292591985692 4.3102749647329270388 5.6033836794138300874 1.5798050920853135004 4.3296454705391145268 5.547222096794091506 1.460139105621...
result:
ok 100 numbers
Test #9:
score: 0
Accepted
time: 45ms
memory: 4376kb
input:
20 9045 8319 -1000 -986 -1000 -683 -1000 -430 -1000 -292 -1000 53 -1000 667 -999 -855 -999 -350 -999 -174 -999 -51 -999 -43 -999 235 -999 465 -999 530 -998 -997 -998 -311 -998 21 -998 44 -998 182 -997 -313 -997 -195 -997 -13 -997 412 -997 425 -996 -542 -996 -348 -996 -126 -996 -59 -996 -40 -996 84 -...
output:
5.9115110039040263956 3.7438685151377115723 2.5384828583153478121 2.1599673588578869321 4.295037709572344653 4.7716744747961818973 4.6824078126019355039 5.0789843941745740352 1.6008018214106638499 3.3404025456367052449 3.3687925282503492497 2.113016028230061405 4.8553994101326702904 4.32400105327053...
result:
ok 20 numbers
Test #10:
score: 0
Accepted
time: 50ms
memory: 6540kb
input:
1 166347 18723 -1000 -979 -1000 -975 -1000 -928 -1000 -914 -1000 -898 -1000 -889 -1000 -876 -1000 -873 -1000 -858 -1000 -840 -1000 -838 -1000 -801 -1000 -783 -1000 -744 -1000 -738 -1000 -733 -1000 -713 -1000 -712 -1000 -695 -1000 -689 -1000 -680 -1000 -675 -1000 -671 -1000 -646 -1000 -643 -1000 -608...
output:
0.85144917898051564187
result:
ok found '0.8514492', expected '0.8514492', error '0.0000000'
Test #11:
score: 0
Accepted
time: 54ms
memory: 5924kb
input:
1 154903 84960 -1000 -979 -1000 -965 -1000 -956 -1000 -945 -1000 -920 -1000 -901 -1000 -878 -1000 -860 -1000 -858 -1000 -709 -1000 -693 -1000 -648 -1000 -619 -1000 -602 -1000 -579 -1000 -474 -1000 -473 -1000 -454 -1000 -443 -1000 -427 -1000 -407 -1000 -403 -1000 -384 -1000 -351 -1000 -279 -1000 -244...
output:
3.5389266853831657933
result:
ok found '3.5389267', expected '3.5389267', error '0.0000000'
Test #12:
score: 0
Accepted
time: 51ms
memory: 6016kb
input:
1 158037 96343 -1000 -1000 -1000 -905 -1000 -881 -1000 -833 -1000 -804 -1000 -803 -1000 -782 -1000 -775 -1000 -765 -1000 -759 -1000 -756 -1000 -748 -1000 -722 -1000 -674 -1000 -669 -1000 -630 -1000 -610 -1000 -573 -1000 -443 -1000 -411 -1000 -409 -1000 -403 -1000 -388 -1000 -366 -1000 -349 -1000 -33...
output:
3.9720287783258809711
result:
ok found '3.9720288', expected '3.9720288', error '0.0000000'
Test #13:
score: 0
Accepted
time: 99ms
memory: 4132kb
input:
10000 17 12 -853202371 684059854 -659446544 -924219854 -418025687 117998679 -399757126 -365708913 -331597239 -270896799 -204989763 869548983 -118492298 963842298 -77481232 672198731 45930201 -58234380 52605147 -900097542 78371985 940503934 235210685 595759114 391284089 234315077 416229789 -827244230...
output:
5.3985251100343525366 5.3739078748564228505 1.1735781728741616625 1.5443652595083858792 3.7782886494030689661 3.5704715868525043199 6.2829748588361589157 5.0959252028151000857 2.9875782465508500252 2.3055665058015288871 3.3907841641820346545 5.7854732381281319675 4.8109636122639649614 0.956757418042...
result:
ok 10000 numbers
Test #14:
score: 0
Accepted
time: 85ms
memory: 4192kb
input:
1000 133 108 -994106086 710243426 -991027749 -548437545 -983318226 -917527783 -943673956 -368162275 -935819096 616077188 -928022346 487569673 -924213856 -369318351 -914827619 426646545 -883935180 590882141 -870015071 -270471333 -834927107 -211343853 -829266515 354007200 -788041913 -60481736 -7822837...
output:
5.7428017921431955273 1.9153642398417938253 3.8043457981080068819 1.7919162705311300066 3.1695206706352037074 6.0786462146156017283 3.7860674595106407203 3.6659690726878562117 6.2265834529704449096 5.9021521926103899247 5.9443157092956759868 0.71516768704310207383 3.8315742529771998903 1.22284571846...
result:
ok 1000 numbers
Test #15:
score: 0
Accepted
time: 81ms
memory: 4256kb
input:
100 1367 924 -999416811 990355566 -997656126 346133696 -997071616 -657387469 -996176051 12622726 -995720693 334093112 -995478093 891631278 -994503890 341858449 -994297596 499383911 -993234202 533518057 -991636838 -4170504 -990563582 -407186200 -989454027 653116272 -989132124 -780605454 -988073521 -1...
output:
4.5051534906176886608 2.7125589326274783808 5.8396785809819666824 6.0229771114526151621 0.46160604310141595263 0.98699123321252302254 1.3219708488343231423 1.9258417458380594489 5.5086083533499108356 4.6463553312978786991 2.287677410207706874 2.184872587796329757 4.8094091918068384572 0.477078990241...
result:
ok 100 numbers
Test #16:
score: 0
Accepted
time: 87ms
memory: 4584kb
input:
10 13806 4955 -999669776 933068103 -999542354 721337508 -999499427 357140594 -999429088 -925180511 -999334813 -145726169 -999291694 -886327684 -999281647 811188099 -999145269 860687107 -998961821 -979442436 -998769313 446186367 -998591455 658309173 -998539751 -569480843 -998479467 279850955 -9984754...
output:
2.4170804680339776915 6.1611922290787273226 3.960020376842234846 3.9943617929045935888 2.5515508361555201411 0.52272383678099887394 4.0978438278542297368 6.2103826631589287288 5.9817280292539667386 0.77722368589060009114
result:
ok 10 numbers
Test #17:
score: 0
Accepted
time: 66ms
memory: 5328kb
input:
1 112596 94970 -999980219 399324466 -999932413 952114487 -999894556 -951211102 -999891030 -996222974 -999864824 412806264 -999853190 -269700371 -999845814 -23906803 -999841507 -459154880 -999825178 716247149 -999761774 -154047106 -999729655 -171480333 -999709604 -666447277 -999704754 -22442485 -9996...
output:
5.4425938793438515262
result:
ok found '5.4425939', expected '5.4425939', error '0.0000000'
Test #18:
score: 0
Accepted
time: 96ms
memory: 6140kb
input:
1 161568 13252 -999991243 -113889211 -999976572 -361096764 -999970140 -505012445 -999960654 600963873 -999959339 -269932510 -999956568 734634576 -999941447 716485764 -999940305 64397798 -999939982 746532931 -999939921 995002380 -999932747 185078659 -999927136 585216518 -999914684 898656539 -99990452...
output:
0.64247459068649748204
result:
ok found '0.6424746', expected '0.6424746', error '0.0000000'
Test #19:
score: 0
Accepted
time: 114ms
memory: 6464kb
input:
1 186192 126483 -999998234 974001047 -999976292 -133179660 -999967957 112862981 -999957851 70030467 -999951528 743907713 -999931316 66002112 -999907988 888991267 -999905412 470798211 -999903986 -103943462 -999900422 255729004 -999898174 917068198 -999884392 -183592605 -999880179 -650076162 -99987469...
output:
4.4012456841190097379
result:
ok found '4.4012457', expected '4.4012457', error '0.0000000'
Test #20:
score: 0
Accepted
time: 62ms
memory: 4276kb
input:
1000 133 9 -10 -839744900 -10 -620593257 -10 -322048342 -10 578093727 -10 898998949 -9 -833794004 -9 -704882916 -9 -570204575 -9 -506146571 -9 -109555290 -9 309734100 -9 396668416 -8 -928874025 -8 376566668 -8 596463598 -8 600491164 -8 894775141 -7 -281322833 -7 49984651 -7 154512939 -7 205573228 -7...
output:
3.141592582887779983 6.2831852482136785198 3.1415926144249786134 3.1415911740814421726 6.2831852702917529996 6.2831852953163274123 3.1415926492294259376 6.2831853036700993087 3.1415926401615581476 6.2831852506759275911 6.2831852816482580693 3.1415927591869401425 3.1415926453705567134 3.1415926237559...
result:
ok 1000 numbers
Test #21:
score: 0
Accepted
time: 47ms
memory: 4920kb
input:
5 23120 8224 -10 -999575056 -10 -997485895 -10 -995458183 -10 -986953157 -10 -985268102 -10 -983223383 -10 -980910524 -10 -980404283 -10 -973605147 -10 -972441960 -10 -972440422 -10 -969122114 -10 -965754004 -10 -964812113 -10 -964558462 -10 -963159275 -10 -962972564 -10 -962085557 -10 -961552443 -1...
output:
3.1415926423513891308 3.1415926312424429234 3.1415926068007826721 3.1415926493953185705 6.2831852722069232442
result:
ok 5 numbers
Test #22:
score: 0
Accepted
time: 37ms
memory: 5424kb
input:
1 99995 60000 1 100001 1 100002 1 100003 1 100004 1 100005 1 100006 1 100007 1 100008 1 100009 1 100010 1 100011 1 100012 1 100013 1 100014 1 100015 1 100016 1 100017 1 100018 1 100019 1 100020 1 100021 1 100022 1 100023 1 100024 1 100025 1 100026 1 100027 1 100028 1 100029 1 100030 1 100031 1 10003...
output:
6.2831853069018182012
result:
ok found '6.2831853', expected '6.2831853', error '0.0000000'
Extra Test:
score: 0
Extra Test Passed