Borderou de evaluare (job #1677225)

Utilizator vladttturcuman vlad vladtt Data 6 aprilie 2016 13:46:00
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void KMP(char*)’: user.cpp:59:6: warning: unused variable ‘k’ [-Wunused-variable] int k = 0; ^ user.cpp: In function ‘int main()’: user.cpp:95:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &str); ^ user.cpp:106:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &word); ^ user.cpp:86:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carte.in", "r", stdin); ^ user.cpp:89:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &str); ^ user.cpp:102:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:106:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &word); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
152ms452kbIncorect0
Punctaj total0

Ceva nu functioneaza?