Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117231 汤奕硕 13求n的阶乘 Python3 Compile Error 0 MS 0 KB 180 2025-04-15 18:42:57

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main() { int a; cin>>a; int b=1; for(int i=1; i<=a; ++i) b*=i; cout<<b; return 0; }


Run Info:

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