Pagini recente » Borderou de evaluare (job #566471) | Borderou de evaluare (job #1894157) | Borderou de evaluare (job #2665899) | Borderou de evaluare (job #1767331) | Borderou de evaluare (job #1677287)
Borderou de evaluare (job #1677287)
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 |
1 | 0ms | 432kb | Killed by signal 8(SIGFPE). | 0 |
Punctaj total | 0 |