Borderou de evaluare (job #2551818)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 20 februarie 2020 11:16:52
Problema Por Costel si Livada Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada2.in", "r", stdin); ^ main.cpp:10:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("livada2.out", "w", stdout); ^ main.cpp:11:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int t; scanf("%d", &t); ^ main.cpp:14:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int n, m; scanf("%d %d", &n, &m); ^ main.cpp:17:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &mat[l][i]); ^ main.cpp:42:17: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] cout << ans << endl; ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11303ms1179kbOK100
Punctaj total100

Ceva nu functioneaza?