Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95525 | 黄芃硕 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 220 | 2024-10-28 17:56:58 |
#include<iostream> using namespace std; int main() { int n,x,y; cin>>n>>x>>y; if(y/x<=o) { if(y%x==0) { cout<<n-y/x; } else { cout<<n-(y/x+1); } } else cout<<0; return 0; }
Main.cc: In function 'int main()': Main.cc:7:10: error: 'o' was not declared in this scope if(y/x<=o) ^