| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145864 | 潘明泽 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 236 | 2026-01-25 19:20:41 |
include <iostream> #include <cstdio> using namespace std; int main() { int n,x,y,e,a; scanf("%d %d %d",&n,&x,&y); a = y%x; e = n-(y/x+a); if(e<=0){ cout<<"0"<<endl; } else{ cout<<e<<endl; } return 0; }
Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:11:2: error: 'cout' was not declared in this scope cout<<"0"<