/ SeriousOJ /

Record Detail

Compile Error

foo.cc: In function 'int main()':
foo.cc:10:11: error: expected '}' at end of input
   10 |     }else{
      |          ~^
foo.cc:10:11: error: expected '}' at end of input
foo.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^

Code

#include <iostream>
using namespace std;
int main(){
    long long x,y,z;
    cin>>x>>y>>z;
    if(x>y && x<z){
        cout<<x<<endl;
    }else if(y>x && y<z){
        cout<<y<<endl;
    }else{
 

Information

Submit By
Type
Submission
Problem
P1232 Parity
Contest
LUCC Presents Kick & Code Intra LU Programming Contest
Language
C++17 (G++ 13.2.0)
Submit At
2025-09-01 06:12:25
Judged At
2025-09-01 06:12:25
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes