/ SeriousOJ /

Record Detail

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
foo.cc:4:1: note: to match this '{'
    4 | {
      | ^

Code

#include<iostream>
using namespace std;
int main()
{
  int x;
  cin>>x;
  if(x*2<=100){
  cout<<"Yes"<<endl;
}
  else{
   cout <<"No"<<endl;
}

Information

Submit By
Type
Submission
Problem
P1056 Grown up boy sunny
Contest
Brain Booster #3
Language
C++17 (G++ 13.2.0)
Submit At
2024-05-06 17:45:45
Judged At
2024-11-11 03:31:55
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes