Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143328 周润泽 计算a+=a C++ Compile Error 0 MS 0 KB 150 2026-01-11 20:14:03

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:17: error: expected initializer before '+=' token
     long long  b+=a;
                 ^
Main.cc:7:11: error: 'b' was not declared in this scope
     cout<