Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154464 蒋禹曦 12输出m的倍数 C++ Compile Error 0 MS 0 KB 219 2026-05-30 14:17:18

Tests(0/0):


Code:

#include<bits/stdc++.h> usint namespace std; int main() { int n,m; cin>>n>>m; cin>>n>>m; for(int i=0;i<=n;i++) { if(i/m==0){ cout<<i; } } return 0; }


Run Info:

Main.cc:2:1: error: 'usint' does not name a type
 usint namespace std;
 ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
     cin>>n>>m;
     ^
Main.cc:6:5: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
                 from Main.cc:1:
/usr/include/c++/5/iostream:60:18: note:   'std::cin'
   extern istream cin;  /// Linked to standard input
                  ^
Main.cc:11:13: error: 'cout' was not declared in this scope
             cout<