Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
90314 | 刘世勋 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 139 | 2024-09-11 19:00:03 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(int a;n-x*y=a){ cout<<a; } return 0; }
Main.cc: In function 'int main()': Main.cc:6:5: error: expected primary-expression before 'int' if(int a;n-x*y=a){ ^ Main.cc:6:5: error: expected ')' before 'int' Main.cc:6:17: error: 'a' was not declared in this scope if(int a;n-x*y=a){ ^