| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 80977 | 刘泽熙 | 19灯的编号 | C++ | Compile Error | 0 MS | 0 KB | 247 | 2024-07-11 17:15:14 |
#include<bits/stdc++.h> using namespace std; int ar[5001]; int main(){ int n,m; cin>>n>>m; for(int i=1;i<=m;i++){ if(j%i==0){ if(aer[i]=0; }else{ ar[i]=0; } } for(int j=1;j<=n;j++){ if(ar[j]==3); cout<<j; } }
Main.cc: In function 'int main()':
Main.cc:8:6: error: 'j' was not declared in this scope
if(j%i==0){
^
Main.cc:9:7: error: 'aer' was not declared in this scope
if(aer[i]=0;
^
Main.cc:9:15: error: expected ')' before ';' token
if(aer[i]=0;
^