QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464898#4518. Cable Connection / Industrial BuildingsZhaoZiLong AC ✓173ms11784kbC++201.9kb2024-07-06 15:47:242024-07-06 15:47:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 173ms
memory: 11784kb

input:

1
1 1
1
1 10000
2
1 10000
1 1
1
10000 1
2
10000 1
1 1
2
10000 1
1 10000
3
1 10000
1 1
10000 1
1
10000 10000
2
10000 10000
1 1
2
1 10000
10000 10000
3
1 10000
1 1
10000 10000
2
10000 1
10000 10000
3
10000 10000
1 1
10000 1
3
10000 1
1 10000
10000 10000
4
1 1
10000 1
1 10000
10000 10000
1
391 8819
1
1...

output:

2.828
10032.334
10032.334
10032.334
10032.334
14143.550
14143.550
28284.271
28284.271
28284.271
28284.271
28284.271
28284.271
28284.271
28284.271
10526.960
2152.645
14001.387
22569.773
10421.112
20431.426
22021.237
23707.206
23637.459
15787.048
12420.214
24414.080
23802.297
10922.527
22997.046
17875...

result:

ok 191 numbers