求大佬帮我调一下代码
查看原帖
求大佬帮我调一下代码
755412
DPG_DPG123楼主2023/6/22 19:21
# include <iostream>
using namespace std;
const int pi = 3.14;
int main(){
    int h, r;
    cin >> h >> r;
    int L = pi * r * r * h / 100;
    cout << 20%L ? 20/L+1:20/L;
    return 0;
}

https://www.luogu.com.cn/record/113131730

2023/6/22 19:21
加载中...