Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76398 张黄源 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Compile Error 0 MS 0 KB 170 2024-06-02 14:10:06

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ cout<<1 * 2 + 2 * 3 + 3 * 4 + 4 * 5 + 5 * 6 + 6 * 7 + 7 * 8 + 8 * 9 + 9 * 10 + 10 * 11; } return 0; }


Run Info:

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