Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87421 黄睿杰 11大象喝水 C++ Runtime Error 1 MS 264 KB 169 2024-08-10 10:40:03

Tests(2/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int h,r,m; cin>>h>>r; m=(3.14*r*r*h)/1000; if(20%m==0) cout<<20/m; else cout<<20/m+1; return 0; }


Run Info:

Runtime Error:Floating point exception