Borderou de evaluare (job #2252044)

Utilizator bogdi1bogdan bancuta bogdi1 Data 2 octombrie 2018 11:47:05
Problema Entropy Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[405]’ [-Wformat=] scanf("%s", &st[0]); ^ user.cpp:12:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[405]’ [-Wformat=] scanf("%s", &st[1]); ^ user.cpp:13:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[405]’ [-Wformat=] scanf("%s", &st[2]); ^ user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] { freopen("entropy.in", "r",stdin); ^ user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("entropy.out", "w",stdout); ^ user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:11:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &st[0]); ^ user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &st[1]); ^ user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &st[2]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms812kbOK!100
Punctaj total100

Ceva nu functioneaza?