Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
5527 | 李伟和 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 201 | 2024-11-24 15:20:19 |
#include<iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; int num=a-c/b; if(y%x!=0){ num--; } if(num<0){ cout<<0<<endl; }else{ cout<<num; } return 0; }
Main.cc: In function 'int main()': Main.cc:7:5: error: 'y' was not declared in this scope if(y%x!=0){ ^ Main.cc:7:7: error: 'x' was not declared in this scope if(y%x!=0){ ^