Borderou de evaluare (job #1230728)
Utilizator | Data | 19 septembrie 2014 10:23:35 | |
---|---|---|---|
Problema | Reinvent | 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:41:43: error: invalid use of member function (did you forget the ‘()’ ?)
for ( int i = 1 ; i <= (int)gr[w].size ; ++i )
^
user.cpp:18:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("reinvent.in" , "r" , stdin );
^
user.cpp:19:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("reinvent.out" , "w" , stdout );
^
user.cpp:21:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d " , &n , &m , &x );
^
user.cpp:25:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d " , &x , &y );
^
user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d " , &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !