Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154741 侯雨冉 02简单两数相加II C++ Compile Error 0 MS 0 KB 150 2026-05-30 18:04:49

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { longlong a; longlong b; cin>>a>>b; cout<<a+b<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: 'longlong' was not declared in this scope
     longlong a;
     ^
Main.cc:6:14: error: expected ';' before 'b'
     longlong b;
              ^
Main.cc:7:10: error: 'a' was not declared in this scope
     cin>>a>>b;
          ^
Main.cc:7:13: error: 'b' was not declared in this scope
     cin>>a>>b;
             ^