Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100725 彭士宝 12for循环练习I Python3 Compile Error 0 MS 0 KB 173 2024-12-11 21:22:23

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { int n; cin >> n; for (int i = 1; i <= n; i++) { cout << i << endl; } return 0; }


Run Info:

  File "Main.py", line 2
    using namespace std;
                  ^
SyntaxError: invalid syntax