| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65548 | 邓嘉瑶 | 07苹果和虫子 | C++ | Runtime Error | 2 MS | 268 KB | 185 | 2024-01-26 11:37:22 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b,c; cin>>a>>b>>c; int d=c/b; if(c%d!=0){ d+=1; } if(d>a){ d=a; } cout<<a-d; return 0; }
Runtime Error:Floating point exception