Borderou de evaluare (job #1615282)
Utilizator | Data | 26 februarie 2016 14:41:08 | |
---|---|---|---|
Problema | Alge | 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:18: error: expected initializer before ‘.’ token
point nou.pred = st;
^
user.cpp:46:13: error: ‘nou’ was not declared in this scope
nou.x = aux.x + dx[i];
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.in", "r", stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.out", "w", stdout);
^
user.cpp:31:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &n, &m);
^
user.cpp:34:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd %hd", &x, &y, &z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !