Borderou de evaluare (job #1704291)
Utilizator | Data | 18 mai 2016 16:01:33 | |
---|---|---|---|
Problema | Orase | 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:24:30: error: ‘x’ was not declared in this scope
fscanf (in, "%d%d", &x[i], &y[i]);
^
user.cpp:24:37: error: ‘y’ was not declared in this scope
fscanf (in, "%d%d", &x[i], &y[i]);
^
user.cpp:26:22: error: ‘x’ was not declared in this scope
int maxim = abs (x[1] - x[2]) + y[1] + y[2];
^
user.cpp:26:37: error: ‘y’ was not declared in this scope
int maxim = abs (x[1] - x[2]) + y[1] + y[2];
^
user.cpp:21:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (in, "%d%d", &m, &n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !