Borderou de evaluare (job #1195652)
Utilizator | Data | 8 iunie 2014 10:30:16 | |
---|---|---|---|
Problema | Potriveala | Status | done |
Runda | Algoritmiada 2014 - Runda 3, Clasele 9-10 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:21: error: size of array ‘d’ is too large
int d[250005][250005];
^
user.cpp: In function ‘int main()’:
user.cpp:21:28: error: ‘d’ was not declared in this scope
if(b[ic] == a[j]) d[i][j] = d[i - 1][j - 1] + 1;
^
user.cpp:22:15: error: ‘d’ was not declared in this scope
else d[i][j] = max(d[i - 1][j], d[i][j - 1]);
^
user.cpp:25:13: error: ‘d’ was not declared in this scope
cout << d[l2 + l1][l1];
^
user.cpp:13:17: warning: unused variable ‘k’ [-Wunused-variable]
int l1, l2, k = 0, ic;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !