/ SeriousOJ /

Record Detail

Compile Error

foo.cc:26:1: error: expected declaration before '}' token
   26 | }
      | ^

Code

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n';


bool custom(pair<int,int>a, pair<int,int>b){

    if(a.first == b.first){
        return a.second > b.second;
    }

    return a.first < b.first;
}

void tc(){
    int t;
    cin >> t;
    while (t--){

        
        }
        
    }
  
}


int main()
{

    ios::sync_with_stdio(0);
    cin.tie(0);

    //tc();

    int x ,y;
    cin >> x >> y;

    cout << x+y << endl;


    return 0;
}

Information

Submit By
Type
Submission
Problem
P1000 A + B
Language
C++20 (G++ 13.2.0)
Submit At
2024-10-02 11:01:11
Judged At
2024-11-11 02:51:46
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes