QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#202513#4648. Average ReplacementQiulyAC ✓906ms5528kbC++141.2kb2023-10-06 10:33:212023-10-06 10:33:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 906ms
memory: 5528kb

input:

100
2 1
1 2
1 2
4 2
1 2 3 4
1 2
3 4
1000 10
12861608 81251431 94636305 97860396 13361461 89521381 9573845 5613423 65053967 22867045 63074541 7376557 68562801 21216095 78889305 34739974 74647393 32495323 15113554 1391235 57948633 91911807 89671183 70279905 48099886 30931849 2289485 44602370 36977326 ...

output:

1.500000
1.500000
1.500000
1.500000
3.500000
3.500000
12861608.000000
81251431.000000
94636305.000000
97860396.000000
13361461.000000
89521381.000000
9573845.000000
5613423.000000
65053967.000000
22867045.000000
63074541.000000
7376557.000000
68562801.000000
21216095.000000
78889305.000000
34739974....

result:

ok 2079006 lines