Borderou de evaluare (job #1884985)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 19 februarie 2017 15:33:56
Problema Tsah Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "tsah.in", "r", stdin ); ^ user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for ( scanf( "%d", &t ); t > 0; t -- ) { ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d ", &n ); ^ user.cpp:27:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread( mat + 1, 1, n + 1, stdin ); ^ user.cpp:45:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( " " ); ^ user.cpp:48:33: warning: ‘t_q’ may be used uninitialized in this function [-Wmaybe-uninitialized] fout << t_max << ' ' << t_q << '\n'; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1208ms484kbOK500
2Depăşit464kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?