| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165074 | 屠思宇 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 155 | 2026-11-09 19:36:35 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; s=y%x; c=n-s; cout<<c<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:5: error: 's' was not declared in this scope
s=y%x;
^
Main.cc:7:5: error: 'c' was not declared in this scope
c=n-s;
^