Borderou de evaluare (job #1346103)
Utilizator | Data | 18 februarie 2015 00:42:35 | |
---|---|---|---|
Problema | Search | 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:43:5: error: expected initializer before ‘int’
int j;
^
user.cpp:45:9: error: ‘i’ was not declared in this scope
for(i = 0; i < n; i++)
^
user.cpp:47:9: error: ‘j’ was not declared in this scope
for(j = 0; j < m; j++)
^
user.cpp:49:9: error: ‘i’ was not declared in this scope
for(i = 0; i < n; i++)
^
user.cpp:59:13: error: ‘j’ was not declared in this scope
for(j = 1; j < m; j++)
^
user.cpp:71:9: error: ‘j’ was not declared in this scope
for(j = 0; j < m; j++)
^
user.cpp:44:10: warning: unused variable ‘c’ [-Wunused-variable]
char c;
^
user.cpp:41:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%hd%d\n", &n, &m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !