QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#85068#5688. 公平合作larryzhongWA 622ms505236kbC++171.6kb2023-03-06 22:20:292023-03-06 22:21:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 622ms
memory: 505228kb

input:

14 1000000000
1706 887 1645 1617 703 932 1100 856 429 160 1332 1698 329 1710

output:

0.419391297842

result:

ok found '0.4193913', expected '0.4193913', error '0.0000000'

Test #2:

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

input:

14 1758
1197 856 713 1060 1560 1758 1602 278 9 829 1675 483 1549 1004

output:

0.477452139021

result:

ok found '0.4774521', expected '0.4774521', error '0.0000000'

Test #3:

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

input:

14 1393
1207 99 1146 1311 99 1155 1585 263 1389 1640 955 438 1773 532

output:

0.450640235877

result:

ok found '0.4506402', expected '0.4506402', error '0.0000000'

Test #4:

score: 0
Accepted
time: 6ms
memory: 3772kb

input:

14 2702
532 929 816 812 456 475 1947 1601 254 1841 995 603 1637 67

output:

0.404988878274

result:

ok found '0.4049889', expected '0.4049889', error '0.0000000'

Test #5:

score: 0
Accepted
time: 621ms
memory: 505236kb

input:

14 110660379
629 338 1644 1972 594 980 629 217 342 1108 1373 949 561 1715

output:

0.391617964384

result:

ok found '0.3916180', expected '0.3916180', error '0.0000000'

Test #6:

score: 0
Accepted
time: 451ms
memory: 6592kb

input:

2000 999999999
922 56 1462 1146 438 150 1135 994 1663 1760 1612 317 413 1419 1916 1449 1565 497 288 1955 1057 1947 1349 246 1440 290 135 1050 1336 257 1616 732 1534 924 1063 796 1388 1788 945 1018 470 1490 1733 1014 1598 901 1589 1170 1596 506 172 68 640 1783 1412 1425 1507 854 1799 1566 2 1786 1247...

output:

0.410245206149

result:

ok found '0.4102452', expected '0.4102452', error '0.0000000'

Test #7:

score: 0
Accepted
time: 449ms
memory: 6672kb

input:

2000 999999999
992 1839 361 923 529 211 258 1988 1386 626 409 352 1446 672 1487 802 1385 622 450 1523 397 763 39 922 1756 1465 1454 156 1545 109 40 1250 1117 1869 376 1696 16 482 11 1439 1610 72 1863 505 1623 1133 500 234 596 1854 640 1006 547 1150 725 1742 1482 337 1885 245 299 1784 768 385 1275 40...

output:

0.407938139948

result:

ok found '0.4079381', expected '0.4079381', error '0.0000000'

Test #8:

score: 0
Accepted
time: 451ms
memory: 6672kb

input:

2000 999999999
1328 931 83 588 1315 697 3 166 360 1156 925 504 514 1902 1207 86 671 1388 234 1295 699 1448 182 240 489 1960 1320 1015 1495 1394 495 1790 110 677 826 212 281 1133 571 54 1082 1907 1900 1864 762 1874 1895 978 1844 1885 1319 811 1384 145 583 1794 1611 761 127 61 916 245 1103 1936 936 83...

output:

0.407869772453

result:

ok found '0.4078698', expected '0.4078698', error '0.0000000'

Test #9:

score: 0
Accepted
time: 477ms
memory: 73384kb

input:

100 10000000
1149 1205 1600 969 793 1707 879 1358 1331 1897 1882 1963 739 1742 67 1165 1042 1772 1027 333 1890 456 633 1232 175 1376 1022 1818 610 1476 1102 1201 1633 1729 664 1031 1521 154 1499 1366 432 80 1895 23 1582 1952 1981 496 1372 953 220 1987 1455 1806 83 561 1179 1810 166 81 1124 769 909 4...

output:

0.419298333972

result:

ok found '0.4192983', expected '0.4192983', error '0.0000000'

Test #10:

score: 0
Accepted
time: 477ms
memory: 143628kb

input:

50 6932564
559 1410 973 1589 1760 1025 1458 568 1005 1198 473 1340 71 1198 675 1303 93 1723 511 604 308 1879 1477 106 1989 569 398 325 445 1140 1735 1507 1413 242 740 1491 1428 115 5 1048 1013 404 1414 1424 728 1444 1177 1305 1917 561

output:

0.409430402477

result:

ok found '0.4094304', expected '0.4094304', error '0.0000000'

Test #11:

score: 0
Accepted
time: 10ms
memory: 3764kb

input:

1994 1996
117 1996 1996 1996 1996 104 185 48 1996 149 1996 1996 1996 1996 1996 135 1996 1996 1996 1996 1996 1996 1996 81 1996 1996 188 1996 1996 1996 1996 1996 1996 1996 1996 5 191 90 16 1996 1996 1996 1996 1996 1996 1996 1996 1996 158 1996 1996 1996 1996 1996 1996 1996 1996 1996 1996 9 176 88 1996 ...

output:

0.824217929406

result:

ok found '0.8242179', expected '0.8242179', error '0.0000000'

Test #12:

score: 0
Accepted
time: 8ms
memory: 3592kb

input:

1992 1502
1996 1996 1996 1996 163 1996 1996 1996 1996 1996 118 1996 1996 1996 1996 1996 1996 192 1996 1996 1996 1996 1996 1996 1996 1996 1996 1996 93 52 1996 1996 109 1996 1996 1996 1996 1996 1996 1996 1996 16 1996 1996 1996 1996 190 1996 1996 1996 1996 1996 33 101 1996 56 1996 1996 1996 1996 1996 1...

output:

0.810240963855

result:

ok found '0.8102410', expected '0.8102410', error '0.0000000'

Test #13:

score: 0
Accepted
time: 22ms
memory: 3804kb

input:

1994 3334
1999 130 1999 1999 1999 48 1999 1999 80 1999 51 1999 1999 1999 1999 198 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 60 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 1999 198 1999 1999 1999 25 173 1999 1999 1999 1999 152 1999 1999 1999 23 1999 1999 1999 136 199...

output:

0.661947523736

result:

ok found '0.6619475', expected '0.6619475', error '0.0000000'

Test #14:

score: -100
Wrong Answer
time: 431ms
memory: 6624kb

input:

1991 344629
1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 10 1986 1986 102 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1986 1 1986 62 1986 1986 98 1986 1986 174 1986 1986 1986 78 1986 1986 131 1986 1986 1986 1986 1986 1986 1986 1986 1986 197 198...

output:

0.487378168320

result:

wrong answer 1st numbers differ - expected: '0.4885609', found: '0.4873782', error = '0.0011827'