Borderou de evaluare (job #2586036)

Utilizator Chris.sCristian Chris.s Data 19 martie 2020 17:21:42
Problema Blis Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:7:12: error: 'MAXN' was not declared in this scope int dp[MAXN], K, N; ^~~~ main.cpp:9:1: error: 'vector' was not declared in this scope vector < pair<int, int> > Update[MAXN]; ^~~~~~ main.cpp:9:25: error: expected primary-expression before '>' token vector < pair<int, int> > Update[MAXN]; ^ main.cpp:9:27: error: 'Update' was not declared in this scope vector < pair<int, int> > Update[MAXN]; ^~~~~~ main.cpp:11:56: error: a function-definition is not allowed here before '{' token inline int binarySearch(const int value, int l, int r) { ^ main.cpp:7:19: warning: unused variable 'K' [-Wunused-variable] int dp[MAXN], K, N; ^ main.cpp:7:22: warning: unused variable 'N' [-Wunused-variable] int dp[MAXN], K, N; ^ main.cpp:60:1: error: expected '}' at end of input } ^ Non zero exit status: 1

Ceva nu functioneaza?