QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#564729 | #5537. Storing Eggs | DennisTran# | WA | 845ms | 5552kb | C++14 | 5.3kb | 2024-09-15 13:56:50 | 2024-09-15 13:56:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3848kb
input:
5 2 #.... ..... ....#
output:
4.472136
result:
ok found '4.4721360', expected '4.4721360', error '0.0000000'
Test #2:
score: 0
Accepted
time: 1ms
memory: 4024kb
input:
5 6 ##.## ##### .....
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #3:
score: 0
Accepted
time: 1ms
memory: 3888kb
input:
3 4 ..# ... ...
output:
1.414214
result:
ok found '1.4142140', expected '1.4142140', error '0.0000000'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
2 6 .. .# ..
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #5:
score: 0
Accepted
time: 1ms
memory: 3940kb
input:
1 2 . . .
output:
2.000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #6:
score: 0
Accepted
time: 4ms
memory: 4356kb
input:
100 2 .................................................................................................... .................................................................................................... ...............................................................................................
output:
99.020200
result:
ok found '99.0202000', expected '99.0202000', error '0.0000000'
Test #7:
score: 0
Accepted
time: 10ms
memory: 4340kb
input:
100 3 .................................................................................................... .................................................................................................... ...............................................................................................
output:
49.040799
result:
ok found '49.0407990', expected '49.0407990', error '0.0000000'
Test #8:
score: 0
Accepted
time: 602ms
memory: 4968kb
input:
100 100 .................................................................................................... .................................................................................................... .............................................................................................
output:
2.000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #9:
score: 0
Accepted
time: 753ms
memory: 5300kb
input:
100 150 .................................................................................................... .................................................................................................... .............................................................................................
output:
1.414214
result:
ok found '1.4142140', expected '1.4142140', error '0.0000000'
Test #10:
score: 0
Accepted
time: 764ms
memory: 5296kb
input:
100 151 .................................................................................................... .................................................................................................... .............................................................................................
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #11:
score: 0
Accepted
time: 839ms
memory: 5516kb
input:
100 200 .................................................................................................... .................................................................................................... .............................................................................................
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #12:
score: 0
Accepted
time: 845ms
memory: 5552kb
input:
100 201 .................................................................................................... .................................................................................................... .............................................................................................
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #13:
score: 0
Accepted
time: 198ms
memory: 4608kb
input:
60 130 ............................................................ ............................................................ ............................................................
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #14:
score: 0
Accepted
time: 97ms
memory: 4912kb
input:
100 100 .................................................................................................... #################################################################################################### .............................................................................................
output:
2.000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #15:
score: 0
Accepted
time: 4ms
memory: 4664kb
input:
100 51 #################################################################################################### .................................................................................................... ###########################################################################################...
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #16:
score: 0
Accepted
time: 1ms
memory: 3624kb
input:
1 2 # # #
output:
-1
result:
ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'
Test #17:
score: 0
Accepted
time: 8ms
memory: 4652kb
input:
99 50 ################################################################################################### ................................................................................................... ##############################################################################################...
output:
2.000000
result:
ok found '2.0000000', expected '2.0000000', error '0.0000000'
Test #18:
score: 0
Accepted
time: 26ms
memory: 4552kb
input:
100 47 #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#...
output:
2.828427
result:
ok found '2.8284270', expected '2.8284270', error '0.0000000'
Test #19:
score: 0
Accepted
time: 25ms
memory: 4616kb
input:
100 43 .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.# #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#. .#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#....
output:
2.828427
result:
ok found '2.8284270', expected '2.8284270', error '0.0000000'
Test #20:
score: 0
Accepted
time: 4ms
memory: 4424kb
input:
99 2 #........#............#.#.#...................................#................##..............#... ............................##...#......#...##.............#.........#..#...#............#...#..... #...............................................#..............#.....#.........#.........#........
output:
98.005102
result:
ok found '98.0051020', expected '98.0051020', error '0.0000000'
Test #21:
score: 0
Accepted
time: 1ms
memory: 4224kb
input:
90 2 #############..######.###.##.#########.###.###########.####.############################## #...##########.#.#################.############.########################.################# ###################.###.##.####.#######..##.########.#############################.#######
output:
81.006173
result:
ok found '81.0061730', expected '81.0061730', error '0.0000000'
Test #22:
score: 0
Accepted
time: 6ms
memory: 4336kb
input:
95 3 #.#..............#.............#.......#..##.....#.#............#....#..................##..... .....#.#........#...#...........#......................#...#.....#.........#.....#...........#. #.......#.#....#.......#.......#.......#..#.#.#.#....#.#...#..#......#........#..........#....#
output:
47.010637
result:
ok found '47.0106370', expected '47.0106370', error '0.0000000'
Test #23:
score: 0
Accepted
time: 1ms
memory: 4232kb
input:
92 3 #########################.###########################.####################################.# #######.##############.#.#################.#########.########.#############################. ###.##.####.###.####.#####.########.#########.########.##.#######.##########################
output:
42.000000
result:
ok found '42.0000000', expected '42.0000000', error '0.0000000'
Test #24:
score: 0
Accepted
time: 10ms
memory: 4404kb
input:
93 4 ##..#.......................#.....#.#.#..............#.....#........#.....................#.. ......#...................#..##...................#...............###.....#....#..........#.# #......#.........#....#.................#......#...#......##..........#.........#.#..#.#..#.#
output:
30.066593
result:
ok found '30.0665930', expected '30.0665930', error '0.0000000'
Test #25:
score: 0
Accepted
time: 1ms
memory: 4260kb
input:
92 4 ###.###############.######.##.#########################.######.###.#####.################### #.##..#####################.###########################.########..###############.#######... #######################.###.############.##..####.#################.#.#..####.##############
output:
28.017851
result:
ok found '28.0178510', expected '28.0178510', error '0.0000000'
Test #26:
score: 0
Accepted
time: 19ms
memory: 4280kb
input:
94 5 #........#....#.................................................#.....................#....... #................#...............#..##..................#........#.......#...#................ ##..................................................##................#.......#...............
output:
23.021729
result:
ok found '23.0217290', expected '23.0217290', error '0.0000000'
Test #27:
score: 0
Accepted
time: 1ms
memory: 3940kb
input:
1 2 # . .
output:
1.000000
result:
ok found '1.0000000', expected '1.0000000', error '0.0000000'
Test #28:
score: 0
Accepted
time: 1ms
memory: 4340kb
input:
94 5 ##..#.######.##.########.#####.#####.############..##.##############################..######## #######.########.##########.#..################.####.#.###...######..##.###################### ######.############.######.#####################.################.##.##############.##########
output:
18.027756
result:
ok found '18.0277560', expected '18.0277560', error '0.0000000'
Test #29:
score: 0
Accepted
time: 21ms
memory: 4200kb
input:
90 6 #.................#....................#................#.#.........###................... ....................................#........#...................#...##...##....#.....#... #.#...........#...#........#..#....#.#....................#.........#.....................
output:
17.117243
result:
ok found '17.1172430', expected '17.1172430', error '0.0000000'
Test #30:
score: -100
Wrong Answer
time: 1ms
memory: 4324kb
input:
100 6 ##########.##.##################.###########.###########.##.######################.####.##.######### ##########...#########.#.########.#################.#.###########.#.##########.#.##.################ ##############.#####..#######..##################.#######################.########.#########...
output:
14.142136
result:
wrong answer 1st numbers differ - expected: '16.0312200', found: '14.1421360', error = '0.1178378'