Submission #597132

#TimeUsernameProblemLanguageResultExecution timeMemory
597132definitelynotmeePeru (RMI20_peru)C++17
Compilation error
0 ms0 KiB
#include "peru.h" #include<bits/stdc++.h> #define ff first #define ss second #define all(x) x.begin(), x.end() using namespace std; using ll = long long; using pii = pair<int,int>; using pll = pair<ll,ll>; template<typename T> using matrix = vector<vector<T>>; const ll INFL = 1ll<<60; const int MOD = 1e9+7; int solve(int n, int k, int* v){ exit(n); return resp; }

Compilation message (stderr)

peru.cpp: In function 'int solve(int, int, int*)':
peru.cpp:19:16: error: 'resp' was not declared in this scope
   19 |         return resp;
      |                ^~~~