Borderou de evaluare (job #1979858)
Utilizator | Data | 11 mai 2017 16:00:09 | |
---|---|---|---|
Problema | A+B | 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:15:29: error: ‘p’ was not declared in this scope
fscanf (fin, "%d%d%d", &p, &n, &m);
^
user.cpp:15:33: error: ‘n’ was not declared in this scope
fscanf (fin, "%d%d%d", &p, &n, &m);
^
user.cpp:15:37: error: ‘m’ was not declared in this scope
fscanf (fin, "%d%d%d", &p, &n, &m);
^
user.cpp:16:10: error: ‘i’ was not declared in this scope
for (i = 1; i <= n; i++)
^
user.cpp:17:12: error: ‘j’ was not declared in this scope
for (j = 1; j <= m; j++)
^
user.cpp:19:27: error: ‘x’ was not declared in this scope
fscanf (fin, "%d%d", &x, &y);
^
user.cpp:19:31: error: ‘y’ was not declared in this scope
fscanf (fin, "%d%d", &x, &y);
^
user.cpp:20:10: error: ‘i’ was not declared in this scope
for (i = 1; i <= n; i++)
^
user.cpp:21:12: error: ‘j’ was not declared in this scope
for (j = 1; j <= m; j++)
^
user.cpp:29:7: error: ‘s’ was not declared in this scope
s = 0;
^
user.cpp:30:12: error: ‘i’ was not declared in this scope
for (i = 1; i <= n; i++)
^
user.cpp:31:14: error: ‘j’ was not declared in this scope
for (j = 1; j <= m; j++)
^
user.cpp:36:11: error: overloaded function with no contextual type information
max = 0;
^
user.cpp:37:12: error: ‘i’ was not declared in this scope
for (i = 1; i <= n; i++)
^
user.cpp:38:14: error: ‘j’ was not declared in this scope
for (j = 1; j <= m; j++)
^
user.cpp:41:31: error: overloaded function with no contextual type information
fprintf (fout, "%d", max);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !