| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 141572 | 余建成 | 12输出3的倍数 | C++ | Compile Error | 0 MS | 0 KB | 169 | 2025-12-27 12:16:15 |
#include<iostream> using manespace std; int main() { int a; cin>>a; for(a=1;a<=100;a+=3) { cout<<a<<endl; } return 0; }
Main.cc:2:8: error: expected nested-name-specifier before 'manespace'
using manespace std;
^
Main.cc: In function 'int main()':
Main.cc:6:6: error: 'cin' was not declared in this scope
cin>>a;
^
Main.cc:6:6: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:9:10: error: 'cout' was not declared in this scope
cout<& __os)
^