Submission #1249195

#TimeUsernameProblemLanguageResultExecution timeMemory
1249195codergA + B (IOI24_aplusb)C++20
Compilation error
0 ms0 KiB
/* autor:CoderG 30.07.2025 */ #include <bits/stdc++.h> #include "aplusb" using namespace std; typedef long long ll; typedef vector<ll> vll; typedef vector<vector<ll>> vvll; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<bool> vb; typedef vector<pair<ll,ll>> vpl; typedef vector<pair<int,int>> vpii; typedef vector<vector<vector<ll>>> vvvll; #define el "\n" #define yes cout<<"YES\n" #define no cout<<"NO\n" #define srt(x) sort(x.begin(),x.end()) #define tests \ ll t; \ cin >> t; \ while (t--) #define sz(x) (ll)x.size() #define db double const int MOD=3; const ll INF=LLONG_MAX/2; const ll LOG=20; const ll MX = 1e9; const ll MAXQ = 100000; ll sum(ll a,ll b){ return (a+b); }

Compilation message (stderr)

/usr/bin/ld: /tmp/cclHzzMK.o: in function `main':
grader.cpp:(.text.startup+0x160): undefined reference to `sum(int, int)'
collect2: error: ld returned 1 exit status