| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 70496 | 石晋骁 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 194 | 2024-04-14 15:04:32 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin >> n >> x >> y; if (y>n){ y = y-n; cout << n-(y/x+y%x) } else{ cout << n-(y/x+y%x) } return 0; }
Main.cc: In function 'int main()':
Main.cc:9:2: error: expected ';' before '}' token
} else{
^
Main.cc:11:2: error: expected ';' before '}' token
}
^