Borderou de evaluare (job #1277239)
Utilizator | Data | 27 noiembrie 2014 13:45:01 | |
---|---|---|---|
Problema | Radiatie | 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:51:22: error: ‘n’ was not declared in this scope
scanf("%d%d%d", &n,&m,&k);
^
user.cpp:51:25: error: ‘m’ was not declared in this scope
scanf("%d%d%d", &n,&m,&k);
^
user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("radiatie.in","r",stdin);
^
user.cpp:50:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("radiatie.out","w",stdout);
^
user.cpp:53:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &v[i].x,&v[i].y,&v[i].cost);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !