Borderou de evaluare (job #1613784)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:36:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf ( "%d" , &refill ) ;
^
user.cpp:32:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "lanterna.in" , "r" , stdin ) ;
^
user.cpp:33:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d %d" , &N , &K ) ;
^
user.cpp:36:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , &refill ) ;
^
user.cpp:39:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , &M ) ;
^
user.cpp:42:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d %d %d %d" , &x , &y , &distance , &power ) ;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 680kb | OK | 10 |
| 2 | 16ms | 668kb | OK | 10 |
| 3 | 4ms | 664kb | OK | 10 |
| 4 | 36ms | 660kb | OK | 10 |
| 5 | 28ms | 668kb | OK | 10 |
| 6 | 36ms | 640kb | OK | 10 |
| 7 | 20ms | 648kb | OK | 10 |
| 8 | 0ms | 664kb | OK | 10 |
| 9 | 0ms | 476kb | OK | 10 |
| 10 | 4ms | 660kb | OK | 10 |
| Punctaj total | 100 |