Borderou de evaluare (job #2180810)
Utilizator | Data | 21 martie 2018 11:00:40 | |
---|---|---|---|
Problema | Fadema | 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:14:9: error: ‘i’ was not declared in this scope
for(i = 1; i <= n; i++)
^
user.cpp:15:13: error: ‘j’ was not declared in this scope
for(j = 1; j <= m; j++)
^
user.cpp:17:9: error: ‘i’ was not declared in this scope
for(i = 1; i <= n; i++)
^
user.cpp:19:9: error: ‘contor’ was not declared in this scope
contor = 1;
^
user.cpp:20:13: error: ‘j’ was not declared in this scope
for(j = 1; j < m; j++)
^
user.cpp:26:16: error: ‘j’ was not declared in this scope
lSt[i][j] = contor;
^
user.cpp:36:9: error: ‘j’ was not declared in this scope
for(j = 1; j <= m; j++)
^
user.cpp:38:9: error: ‘contor’ was not declared in this scope
contor = 1;
^
user.cpp:39:13: error: ‘i’ was not declared in this scope
for(i = n; i > 1; i--)
^
user.cpp:45:14: error: ‘i’ was not declared in this scope
lJos[i][j] = contor;
^
user.cpp:47:9: error: ‘i’ was not declared in this scope
for(i = 1; i <= n; i++)
^
user.cpp:48:13: error: ‘j’ was not declared in this scope
for(j = 1; j <= m; j++)
^
user.cpp:49:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp:13:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !