QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464821#4518. Cable Connection / Industrial BuildingsGuanYunChang AC ✓191ms18976kbC++232.6kb2024-07-06 15:14:032024-07-06 15:14:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 191ms
memory: 18976kb

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.82843
10032.33402
10032.33402
10032.33402
10032.33402
14143.54984
14143.54984
28284.27125
28284.27125
28284.27125
28284.27125
28284.27125
28284.27125
28284.27125
28284.27125
10527.03682
2152.85124
14003.04149
22575.24467
10421.28513
20439.62862
22028.01934
23709.29037
23639.99391
15788.84569
12422...

result:

ok 191 numbers