Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
137978 何兴驰 13求1╳2+2╳3+3╳4+...+10╳11的和 C++ Compile Error 0 MS 0 KB 105 2025-11-23 11:54:11

Tests(0/0):


Code:

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: In function 'int main()':
Main.cc:4:1: error: 'cout' was not declared in this scope
 cout<<1*2+2*3+3*4+4*5+5*6+6*7+7*8+8*9+9*10+10*11; 
 ^