Borderou de evaluare (job #1884991)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16: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:21: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:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d ", &n ); ^ user.cpp:31: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:51: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
1148ms488kbOK50100
2348ms484kbOK50
Punctaj total100

Ceva nu functioneaza?