Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114007 文苑 02简单两数相加II C++ Compile Error 0 MS 0 KB 148 2025-03-18 14:34:09

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:15: error: 'c' was not declared in this scope
     cin>>a>>b,c;
               ^