Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153758 高梓晴 求和 C++ Compile Error 0 MS 0 KB 141 2026-05-23 18:19:13

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() int a<<123; int b<<456; cout<<"sum is"<<a+b<<endl; return 0; }


Run Info:

Main.cc:4:5: error: expected initializer before 'int'
     int a<<123;
     ^
Main.cc:5:10: error: expected initializer before '<<' token
     int b<<456;
          ^
Main.cc:6:5: error: 'cout' does not name a type
     cout<<"sum is"<