Borderou de evaluare (job #1677287)

Utilizator vladttturcuman vlad vladtt Data 6 aprilie 2016 14:37: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:75:29: warning: division by zero [-Wdiv-by-zero] k=k/0; ^ user.cpp:86:29: warning: division by zero [-Wdiv-by-zero] k=k/0; ^ user.cpp: In function ‘int main()’: user.cpp:104:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &str); ^ user.cpp:115:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[3010]’ [-Wformat=] scanf("%s", &word); ^ user.cpp:95: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:98:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:104:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &str); ^ user.cpp:111:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:115: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
10ms432kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?