Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112958 康文远 02简单两数相加 C++ Compile Error 0 MS 0 KB 135 2025-03-14 20:35:15

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:2: error: 'x' was not declared in this scope
  x = 10;
  ^
Main.cc:7:2: error: 'y' was not declared in this scope
  y = 10;
  ^