洛谷 P1378 油滴扩展

题目链接:油滴扩展 思路 枚举油滴滴下的顺序,然后依次判断a56爆大奖在线娱乐油滴扩展的半径。然后每次计算出当前油滴能扩散的最大半径,通过使用当前油滴与边长的距离。 代码 #include <bits/stdc++.h> using namespace std; const int maxn = 10; const
posted @ 2024-06-20 23:15  薛定谔的AC  阅读(5)  评论(0编辑  收藏  举报