QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#791086 | #9062. Segment Drawing | dXqwq# | AC ✓ | 45ms | 12976kb | C++23 | 1.8kb | 2024-11-28 16:48:35 | 2024-11-28 16:48:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 5864kb
input:
3 0 6 -4 -2 -2 1 -1 0 0 4 1 4
output:
11.9995169566
result:
ok found '11.9995170', expected '11.9995170', error '0.0000000'
Test #2:
score: 0
Accepted
time: 1ms
memory: 5656kb
input:
3 0 6 -4 -2 0 4 -1 0 -2 1 1 4
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #3:
score: 0
Accepted
time: 1ms
memory: 5944kb
input:
2 0 5 -1000000 -1 0 5 1 1000000
output:
10.1980390272
result:
ok found '10.1980390', expected '10.1980390', error '0.0000000'
Test #4:
score: 0
Accepted
time: 37ms
memory: 12976kb
input:
100000 1 100000 -200000 -199998 1 99998 -199996 -199994 1 99996 -199992 -199990 1 99994 -199988 -199986 1 99992 -199984 -199982 1 99990 -199980 -199978 1 99988 -199976 -199974 1 99986 -199972 -199970 1 99984 -199968 -199966 1 99982 -199964 -199962 1 99980 -199960 -199958 1 99978 -199956 -199954 1 99...
output:
11180451690.0759690544
result:
ok found '11180451690.0759697', expected '11180451690.0759640', error '0.0000000'
Test #5:
score: 0
Accepted
time: 1ms
memory: 6000kb
input:
450 2016 101921 -915499 -914984 2007 101020 -907524 -906874 1998 100123 -899472 -898984 1989 99230 -891231 -890960 1980 98341 -883224 -883063 1971 97456 -875369 -874899 1962 96575 -867275 -867022 1953 95698 -859524 -859190 1944 94825 -851821 -851352 1935 93956 -843913 -843238 1926 93091 -836181 -835...
output:
140247233.7166310940
result:
ok found '140247233.7166311', expected '140247233.7166310', error '0.0000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 5508kb
input:
50 -970371 499272 -996951 -961516 983587 629495 -914406 -902615 -763129 301073 -873482 -857284 -720866 775675 -820933 -815251 6378 982109 -804663 -800647 827071 570001 -795101 -777962 -292095 453232 -774161 -763252 -616132 890572 -759641 -755863 -568861 928637 -753546 -733655 448712 698456 -726404 -...
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #7:
score: 0
Accepted
time: 41ms
memory: 12056kb
input:
100000 -999983 196124 -999980 -999967 -999979 337318 -999965 -999933 -999943 338955 -999932 -999923 -999913 439413 -999903 -999898 -999884 947014 -999886 -999882 -999830 830308 -999835 -999828 -999805 611823 -999817 -999815 -999770 714049 -999796 -999794 -999756 939629 -999788 -999766 -999735 205556...
output:
48995190285.5229165703
result:
ok found '48995190285.5229187', expected '48995190285.5206375', error '0.0000000'
Test #8:
score: 0
Accepted
time: 2ms
memory: 7992kb
input:
10000 -999842 491960 -999950 -999761 -999774 459845 -999712 -999711 -999826 789412 -999555 -999467 -999746 827897 -999463 -999442 -999357 425503 -999432 -999383 -999181 258718 -999364 -999329 -998854 996607 -999192 -998894 -999033 446054 -998778 -998685 -998112 378203 -998671 -998667 -998612 32224 -...
output:
3693977507.3259252701
result:
ok found '3693977507.3259254', expected '3693977507.3259096', error '0.0000000'
Test #9:
score: 0
Accepted
time: 45ms
memory: 12044kb
input:
100000 -999992 451078 -999985 -999969 -999926 632473 -999963 -999958 -999920 111091 -999941 -999933 -999906 787218 -999921 -999918 -999903 15948 -999915 -999914 -999880 62874 -999913 -999907 -999865 102937 -999906 -999890 -999845 92714 -999882 -999881 -999772 35568 -999880 -999876 -999800 11027 -999...
output:
36086777912.1254860796
result:
ok found '36086777912.1254883', expected '36086777912.1254578', error '0.0000000'
Test #10:
score: 0
Accepted
time: 35ms
memory: 11944kb
input:
100000 -999861 731576 -999992 -999977 -999938 133605 -999972 -999950 -999974 666338 -999917 -999898 -999927 544853 -999859 -999853 -999807 176855 -999840 -999822 -999783 894232 -999819 -999810 -999758 921099 -999794 -999792 -999772 484991 -999775 -999767 -999711 826123 -999764 -999761 -999705 968949...
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #11:
score: 0
Accepted
time: 1ms
memory: 5668kb
input:
3 -800013 199979 -999998 -999997 -85 999899 -999995 -999994 -900004 99989 999999 1000000
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #12:
score: 0
Accepted
time: 0ms
memory: 5936kb
input:
3 -800013 199979 -999998 -999997 -85 999899 -999994 -999993 -900004 99989 999999 1000000
output:
3599526.5242105246
result:
ok found '3599526.5242105', expected '3599526.5242105', error '0.0000000'
Test #13:
score: 0
Accepted
time: 0ms
memory: 5844kb
input:
8 -200067 799919 -1000000 -999999 -400049 599939 -999998 -999997 -800013 199979 -999996 -999995 -85 999899 -999994 -999993 -900004 99989 0 1 -500040 499949 10 11 -300058 699929 100 101 -100076 899909 999999 1000000
output:
7472095.7886039370
result:
ok found '7472095.7886039', expected '7472097.4895879', error '0.0000002'
Test #14:
score: 0
Accepted
time: 1ms
memory: 5808kb
input:
8 -200067 799919 -1000000 -999999 -400049 599939 -999998 -999997 -800013 199979 -999996 -999995 -85 999899 -999994 -999993 -900005 99989 0 1 -500040 499949 10 11 -300058 699929 100 101 -100076 899909 999999 1000000
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #15:
score: 0
Accepted
time: 26ms
memory: 9944kb
input:
60000 -599252 795272 -1000000 -999999 -799624 397636 -999998 -999997 -499066 994090 -999996 -999995 -596921 798716 -999990 -999989 -798453 399358 -999988 -999987 -496155 998395 -999986 -999985 -599624 791636 -999980 -999979 -799800 395818 -999978 -999977 -499536 989545 -999976 -999975 -597789 794588...
output:
42706101166.5530616678
result:
ok found '42706101166.5530624', expected '42706101166.5530624', error '0.0000000'
Test #16:
score: 0
Accepted
time: 25ms
memory: 9772kb
input:
60000 -914449 839377 -1000000 -999999 -959293 399373 -999998 -999997 -907480 907756 -999996 -999995 -901006 962360 -999990 -999989 -939588 587236 -999988 -999987 -899390 978072 -999986 -999985 -928288 694608 -999980 -999979 -960527 382234 -999978 -999977 -916340 810376 -999976 -999975 -934663 628294...
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #17:
score: 0
Accepted
time: 1ms
memory: 5900kb
input:
1 -1000000 1000000 -1000000 1000000
output:
1000000.0000000000
result:
ok found '1000000.0000000', expected '1000000.0000000', error '0.0000000'
Test #18:
score: 0
Accepted
time: 0ms
memory: 5908kb
input:
1 1000000 1000000 -1000000 -1000000
output:
2236067.9774997897
result:
ok found '2236067.9774998', expected '2236067.9774998', error '0.0000000'