Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141765 陈峻徳 02简单两数相加II C++ Compile Error 0 MS 0 KB 120 2025-12-28 14:57:15

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ longlong a=1; longlong b=2; cout<<a+b<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:2: error: 'longlong' was not declared in this scope
  longlong a=1;
  ^
Main.cc:5:11: error: expected ';' before 'b'
  longlong b=2;
           ^
Main.cc:6:8: error: 'a' was not declared in this scope
  cout<