| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65543 | 郑信好 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 178 | 2024-01-26 11:34:14 |
#include<iostream> using namespace std; int main(){ int a,s,d; cin >>a>>s>>d; int w=d/s; if(d%s!=0){ w+=1; } if(w>n){ w=n; } cout<<n-w; return 0; }
Main.cc: In function 'int main()':
Main.cc:10:7: error: 'n' was not declared in this scope
if(w>n){
^
Main.cc:13:8: error: 'n' was not declared in this scope
cout<