Borderou de evaluare (job #1978287)

Utilizator eukristianCristian L. eukristian Data 7 mai 2017 12:34:26
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:158:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[33]’ [-Wformat=] scanf("%s\n", &users[i]); ^ user.cpp:171:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[33]’ [-Wformat=] scanf("%s\n", &str); ^ user.cpp:185:44: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[33]’ [-Wformat=] scanf("%s %d\n", &str, &rel); ^ user.cpp:144:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fbsearch.in", "r", stdin); ^ user.cpp:145:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fbsearch.out", "w", stdout); ^ user.cpp:148:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:152:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:158:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &users[i]); ^ user.cpp:167:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &op); ^ user.cpp:171:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &str); ^ user.cpp:185:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %d\n", &str, &rel); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1892ms122220kbOK100
Punctaj total100

Ceva nu functioneaza?