Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120730 陈泊延 07a+b>c C++ Compile Error 0 MS 0 KB 126 2025-05-31 15:21:43

Tests(0/0):


Code:

int a,b,c; cin>>a; if(a+b>c){ cout<<"YES"; }; endl(a+b<c){ cout<<"NO"; }; return 0; }


Run Info:

Main.cc:2:5: error: 'cin' does not name a type
     cin>>a;
     ^
Main.cc:3:5: error: expected unqualified-id before 'if'
     if(a+b>c){
     ^
Main.cc:6:9: error: expected constructor, destructor, or type conversion before '(' token
     endl(a+b