Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138058 岑思烁 13求n的阶乘 C++ Compile Error 0 MS 0 KB 158 2025-11-23 12:13:04

Tests(0/0):


Code:

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


Run Info:

Main.cc:11:2: error: expected unqualified-id before 'return'
  return 0;
  ^
Main.cc:12:1: error: expected declaration before '}' token
 }
 ^