Pagini recente » Borderou de evaluare (job #2277596) | Borderou de evaluare (job #2565464) | Borderou de evaluare (job #915370) | Borderou de evaluare (job #1377225) | Borderou de evaluare (job #1688079)
Borderou de evaluare (job #1688079)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf ( "%d" , rez ) ;
^
user.cpp:8:21: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
int n , o , x , p = 0 , i ;
^
user.cpp:9:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "clasament.in" , "r" , stdin ) ;
^
user.cpp:10:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "clasament.out" , "w" , stdout ) ;
^
user.cpp:11:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d" , & n , & o ) ;
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , & x ) ;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 0ms | 268kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 264kb | Incorect | 0 |
| 5 | 20ms | 264kb | Incorect | 0 |
| 6 | 24ms | 328kb | OK | 10 |
| 7 | 28ms | 332kb | Incorect | 0 |
| 8 | 24ms | 344kb | Incorect | 0 |
| 9 | 24ms | 284kb | Incorect | 0 |
| 10 | 20ms | 268kb | Incorect | 0 |
| Punctaj total | 20 |