Pagini recente » Borderou de evaluare (job #783808) | Borderou de evaluare (job #1679829) | Borderou de evaluare (job #2353811) | Borderou de evaluare (job #2680319) | Borderou de evaluare (job #2102531)
Borderou de evaluare (job #2102531)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:31:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d" , &n);
^
user.cpp:33:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ( "%d" , &t );
^
user.cpp:41:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ( "%d" , &t );
^
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d" , &n);
^
user.cpp:33:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , &t );
^
user.cpp:41:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , &t );
^
user.cpp: In function ‘int main()’:
user.cpp:97:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( IN , "r" , stdin );
^
user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( OUT , "w" , stdout );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Corect | 10 |
| 2 | 0ms | 288kb | Corect | 10 |
| 3 | 0ms | 288kb | Corect | 10 |
| 4 | 0ms | 288kb | Corect | 10 |
| 5 | 0ms | 288kb | Corect | 10 |
| 6 | 0ms | 288kb | Corect | 10 |
| 7 | 0ms | 288kb | Corect | 10 |
| 8 | 0ms | 292kb | Corect | 10 |
| 9 | 8ms | 392kb | Corect | 10 |
| 10 | 8ms | 388kb | Corect | 10 |
| Punctaj total | 100 |