QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#791080#9062. Segment DrawingdXqwq#WA 16ms12872kbC++231.7kb2024-11-28 16:45:582024-11-28 16:45:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 5900kb

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: 0ms
memory: 5740kb

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: 5892kb

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: 13ms
memory: 12872kb

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: 5924kb

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: 1ms
memory: 5756kb

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: 16ms
memory: 12012kb

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: 5896kb

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: 16ms
memory: 11948kb

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: 14ms
memory: 11884kb

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: 5700kb

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: -100
Wrong Answer
time: 1ms
memory: 5600kb

input:

3
-800013 199979 -999998 -999997
-85 999899 -999994 -999993
-900004 99989 999999 1000000

output:

-1

result:

wrong answer 1st numbers differ - expected: '3599526.5242105', found: '-1.0000000', error = '1.0000003'