Submission #1051645

#TimeUsernameProblemLanguageResultExecution timeMemory
1051645AndreasKTropical Garden (IOI11_garden)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; #define designed ios_base::sync_with_stdio(0); #define by cin.tie(0); #define AndreasK cout.tie(0); #define int long long #define ii pair <int,int> #define vi vector <int> #define iii pair <int,ii> #define vii vector <ii> #define vc vector <char> #define vb vector <bool> void count_routes(int32_t N, int32_t M, int32_t P, int32_t R[][2], int32_t Q, int32_t G[]) { int i; for(i=0; i<Q; i++) answer(N); }

Compilation message (stderr)

garden.cpp: In function 'void count_routes(int32_t, int32_t, int32_t, int32_t (*)[2], int32_t, int32_t*)':
garden.cpp:20:5: error: 'answer' was not declared in this scope
   20 |     answer(N);
      |     ^~~~~~