Borderou de evaluare (job #2768196)

Utilizator betybety bety bety Data 9 august 2021 19:26:32
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:315:36: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[33]' [-Wformat=] scanf("%s\n", &users[i]); ^ main.cpp:341:35: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[33]' [-Wformat=] scanf("%s\n", &str); ^ main.cpp:369:44: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[33]' [-Wformat=] scanf("%s %d\n", &str, &rel); ^ main.cpp:287: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); ^ main.cpp:289: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); ^ main.cpp:295:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ main.cpp:303:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ main.cpp:315:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &users[i]); ^ main.cpp:333:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &op); ^ main.cpp:341:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &str); ^ main.cpp:369: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
1497ms131088kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?