Borderou de evaluare (job #1725090)
Utilizator | Data | 4 iulie 2016 21:05:11 | |
---|---|---|---|
Problema | V2d | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:20: error: ‘i’ was not declared in this scope
pf[i][j] = max(pf[i][j], pa[i][j]);
^
user.cpp:49:23: error: ‘j’ was not declared in this scope
pf[i][j] = max(pf[i][j], pa[i][j]);
^
user.cpp:56:20: error: ‘i’ was not declared in this scope
pf[i][j] = max(pf[i][j], pa[i][j]);
^
user.cpp:56:23: error: ‘j’ was not declared in this scope
pf[i][j] = max(pf[i][j], pa[i][j]);
^
user.cpp: At global scope:
user.cpp:59:9: error: expected unqualified-id before ‘for’
for (int i = 1; i <= n; i++)
^
user.cpp:59:25: error: ‘i’ does not name a type
for (int i = 1; i <= n; i++)
^
user.cpp:59:33: error: ‘i’ does not name a type
for (int i = 1; i <= n; i++)
^
user.cpp:60:29: error: ‘j’ does not name a type
for (int j = 1; j <= n; j++)
^
user.cpp:60:37: error: ‘j’ does not name a type
for (int j = 1; j <= n; j++)
^
user.cpp:62:5: error: expected declaration before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !