Borderou de evaluare (job #2239914)

Utilizator DjokValeriu Motroi Djok Data 11 septembrie 2018 23:43:25
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:191:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 1; i < c.size(); ++i) ~~^~~~~~~~~~ user.cpp:175:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.in", "r", stdin); ^ user.cpp:176:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bacterii2.out", "w", stdout); ^ user.cpp:178:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t, puts("")) { ^ user.cpp:181:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:182:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < n; ++i) scanf("%d", &x), ++a[x]; ^ user.cpp:183:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:184:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i = 0; i < m; ++i) scanf("%d", &x), ++b[x]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1172ms4012kbOK100
Punctaj total100

Ceva nu functioneaza?