Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141565 余建成 12for循环练习III C++ Compile Error 0 MS 0 KB 160 2025-12-27 12:10:55

Tests(0/0):


Code:

#include<iostream> using manespace std; int main() { int i; for(i=1;i<=100;i++) { if(i%2==1) { cout<<i<<""; } } return 0; }


Run Info:

Main.cc:2:8: error: expected nested-name-specifier before 'manespace'
  using manespace std;
        ^
Main.cc: In function 'int main()':
Main.cc:10:4: error: 'cout' was not declared in this scope
    cout<