Borderou de evaluare (job #946954)

Utilizator deneoAdrian Craciun deneo Data 6 mai 2013 13:42:34
Problema Balans Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:12:12: error: expected unqualified-id before ‘long’ #define ll long long ^ user.cpp:19:1: note: in expansion of macro ‘ll’ ll sumR[MAXN][MAXN], sumC[MAXN]; ^ user.cpp: In function ‘void insert_deque(int)’: user.cpp:24:27: error: ‘sumC’ was not declared in this scope while (!dq.empty() && sumC[dq.back()] > sumC[elem]) ^ user.cpp: In function ‘bool solve(int)’: user.cpp:40:17: error: ‘sumC’ was not declared in this scope sumC[k] = sumC[k - 1] + (sumR[j][k] - sumR[i - 1][k] - 1LL * mid * (j - i + 1)); ^ user.cpp:40:42: error: ‘sumR’ was not declared in this scope sumC[k] = sumC[k - 1] + (sumR[j][k] - sumR[i - 1][k] - 1LL * mid * (j - i + 1)); ^ user.cpp:43:21: error: ‘sumC’ was not declared in this scope if (sumC[k] - sumC[get_deque(k - M)] >= 0) ^ user.cpp: In function ‘int main()’: user.cpp:77:13: error: ‘sumR’ was not declared in this scope sumR[i][j] = sumR[i - 1][j] + a[i][j]; ^

Ceva nu functioneaza?