QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#403152#2290. Kinking CablesdXqwqWA 0ms3976kbC++232.0kb2024-05-01 22:00:352024-05-01 22:00:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

79 78
1980.7712136406

output:

27
0.0000000000 0.0000000000
0.0000000000 78.0000000000
1.0000000000 0.0000000000
1.0000000000 78.0000000000
2.0000000000 0.0000000000
2.0000000000 78.0000000000
3.0000000000 0.0000000000
3.0000000000 78.0000000000
4.0000000000 0.0000000000
4.0000000000 78.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

33 65
1947.7601065763

output:

32
0.0000000000 0.0000000000
0.0000000000 65.0000000000
1.0000000000 0.0000000000
1.0000000000 65.0000000000
2.0000000000 0.0000000000
2.0000000000 65.0000000000
3.0000000000 0.0000000000
3.0000000000 65.0000000000
4.0000000000 0.0000000000
4.0000000000 65.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #3:

score: 0
Accepted
time: 0ms
memory: 3908kb

input:

51 51
555.0803652025

output:

12
0.0000000000 0.0000000000
0.0000000000 51.0000000000
1.0000000000 0.0000000000
1.0000000000 51.0000000000
2.0000000000 0.0000000000
2.0000000000 51.0000000000
3.0000000000 0.0000000000
3.0000000000 51.0000000000
4.0000000000 0.0000000000
4.0000000000 51.0000000000
27.0000000000 9.1247594357
51.00...

result:

ok correct

Test #4:

score: 0
Accepted
time: 0ms
memory: 3892kb

input:

49 2
67.3588717350

output:

14
0.0000000000 0.0000000000
0.0000000000 2.0000000000
1.0000000000 0.0000000000
1.0000000000 2.0000000000
2.0000000000 0.0000000000
2.0000000000 2.0000000000
3.0000000000 0.0000000000
3.0000000000 2.0000000000
4.0000000000 0.0000000000
4.0000000000 2.0000000000
5.0000000000 0.0000000000
5.000000000...

result:

ok correct

Test #5:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

37 48
1713.3643608504

output:

38
0.0000000000 0.0000000000
0.0000000000 48.0000000000
1.0000000000 0.0000000000
1.0000000000 48.0000000000
2.0000000000 0.0000000000
2.0000000000 48.0000000000
3.0000000000 0.0000000000
3.0000000000 48.0000000000
4.0000000000 0.0000000000
4.0000000000 48.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #6:

score: 0
Accepted
time: 0ms
memory: 3888kb

input:

51 79
820.1218304546

output:

12
0.0000000000 0.0000000000
0.0000000000 79.0000000000
1.0000000000 0.0000000000
1.0000000000 79.0000000000
2.0000000000 0.0000000000
2.0000000000 79.0000000000
3.0000000000 0.0000000000
3.0000000000 79.0000000000
4.0000000000 0.0000000000
4.0000000000 79.0000000000
27.0000000000 29.7754238844
51.0...

result:

ok correct

Test #7:

score: 0
Accepted
time: 0ms
memory: 3960kb

input:

6 8
37.5338494218

output:

6
0.0000000000 0.0000000000
0.0000000000 8.0000000000
1.0000000000 0.0000000000
1.0000000000 8.0000000000
3.0000000000 1.7625808716
6.0000000000 8.0000000000

result:

ok correct

Test #8:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

5 5
7.1908428511

output:

3
0.0000000000 0.0000000000
4.6101379395 5.0000000000
5.0000000000 5.0000000000

result:

ok correct

Test #9:

score: 0
Accepted
time: 0ms
memory: 3936kb

input:

5 4
8.3927665498

output:

3
0.0000000000 0.0000000000
0.6615829468 4.0000000000
5.0000000000 4.0000000000

result:

ok correct

Test #10:

score: 0
Accepted
time: 0ms
memory: 3936kb

input:

4 2
6.4617533647

output:

4
0.0000000000 0.0000000000
0.0000000000 2.0000000000
2.0000000000 1.0116653442
4.0000000000 2.0000000000

result:

ok correct

Test #11:

score: 0
Accepted
time: 0ms
memory: 3940kb

input:

91 87
4830.8473359767

output:

57
0.0000000000 0.0000000000
0.0000000000 87.0000000000
1.0000000000 0.0000000000
1.0000000000 87.0000000000
2.0000000000 0.0000000000
2.0000000000 87.0000000000
3.0000000000 0.0000000000
3.0000000000 87.0000000000
4.0000000000 0.0000000000
4.0000000000 87.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #12:

score: 0
Accepted
time: 0ms
memory: 3912kb

input:

90 90
5088.9280941138

output:

58
0.0000000000 0.0000000000
0.0000000000 90.0000000000
1.0000000000 0.0000000000
1.0000000000 90.0000000000
2.0000000000 0.0000000000
2.0000000000 90.0000000000
3.0000000000 0.0000000000
3.0000000000 90.0000000000
4.0000000000 0.0000000000
4.0000000000 90.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #13:

score: 0
Accepted
time: 0ms
memory: 3944kb

input:

90 92
7004.0153432299

output:

78
0.0000000000 0.0000000000
0.0000000000 92.0000000000
1.0000000000 0.0000000000
1.0000000000 92.0000000000
2.0000000000 0.0000000000
2.0000000000 92.0000000000
3.0000000000 0.0000000000
3.0000000000 92.0000000000
4.0000000000 0.0000000000
4.0000000000 92.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #14:

score: 0
Accepted
time: 0ms
memory: 3964kb

input:

91 83
1879.3819547895

output:

24
0.0000000000 0.0000000000
0.0000000000 83.0000000000
1.0000000000 0.0000000000
1.0000000000 83.0000000000
2.0000000000 0.0000000000
2.0000000000 83.0000000000
3.0000000000 0.0000000000
3.0000000000 83.0000000000
4.0000000000 0.0000000000
4.0000000000 83.0000000000
5.0000000000 0.0000000000
5.0000...

result:

ok correct

Test #15:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

3 81
199.2077743610

output:

4
0.0000000000 0.0000000000
0.0000000000 81.0000000000
1.0000000000 21.9172643423
3.0000000000 81.0000000000

result:

ok correct

Test #16:

score: 0
Accepted
time: 0ms
memory: 3960kb

input:

4 89
288.5915130114

output:

6
0.0000000000 0.0000000000
0.0000000000 89.0000000000
1.0000000000 0.0000000000
1.0000000000 89.0000000000
2.0000000000 78.3232673407
4.0000000000 89.0000000000

result:

ok correct

Test #17:

score: 0
Accepted
time: 0ms
memory: 3944kb

input:

95 3
175.9210001082

output:

34
0.0000000000 0.0000000000
0.0000000000 3.0000000000
1.0000000000 0.0000000000
1.0000000000 3.0000000000
2.0000000000 0.0000000000
2.0000000000 3.0000000000
3.0000000000 0.0000000000
3.0000000000 3.0000000000
4.0000000000 0.0000000000
4.0000000000 3.0000000000
5.0000000000 0.0000000000
5.000000000...

result:

ok correct

Test #18:

score: 0
Accepted
time: 0ms
memory: 3976kb

input:

84 4
310.3037172015

output:

66
0.0000000000 0.0000000000
0.0000000000 4.0000000000
1.0000000000 0.0000000000
1.0000000000 4.0000000000
2.0000000000 0.0000000000
2.0000000000 4.0000000000
3.0000000000 0.0000000000
3.0000000000 4.0000000000
4.0000000000 0.0000000000
4.0000000000 4.0000000000
5.0000000000 0.0000000000
5.000000000...

result:

ok correct

Test #19:

score: -100
Wrong Answer
time: 0ms
memory: 3768kb

input:

2 2
2.8284271248

output:

3
0.0000000000 0.0000000000
1.9999694824 2.0000000000
2.0000000000 2.0000000000

result:

wrong answer Output path has length 2.828436063, should have length 2.828427125