Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
135965 丁俊杰 07a+b>c C++ Compile Error 0 MS 0 KB 154 2025-11-08 18:05:53

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c cin>>a>>b>>c; if(a+b>c) cout<<"Yes"; else cout<<"No"; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:2: error: expected initializer before 'cin'
  cin>>a>>b>>c;
  ^
Main.cc:6:9: error: 'c' was not declared in this scope
  if(a+b>c)
         ^