Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
120740 | 陈泊延 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 205 | 2025-05-31 15:40:22 |
int main(){ int n,x,y; cin>>n>>x>>y; if(y%x==0){ n=n-y/x; } if(y%x>0) n=<n-(y%x+y/x); } if(n<0){ cuot<<0; } else cuot<<'n' return 0; }
Main.cc: In function 'int main()': Main.cc:3:5: error: 'cin' was not declared in this scope cin>>n>>x>>y; ^ Main.cc:8:11: error: expected primary-expression before '<' token n=