Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
96749 黄思翔 12输出m的倍数 C++ Compile Error 0 MS 0 KB 150 2024-11-09 13:11:20

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int i=a,a,b; for(;i<=100;i++){ if(i%b==0){ cout<<i<<" "; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:8: error: 'a' was not declared in this scope
  int i=a,a,b;
        ^
Main.cc:6:8: error: 'b' was not declared in this scope
   if(i%b==0){
        ^