Borderou de evaluare (job #2188682)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 27 martie 2018 12:39:30
Problema Carte Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int prepare()’: user.cpp:15:26: warning: NULL used in arithmetic [-Wpointer-arith] for(i = 1; aux[i] != NULL; i++) ^~~~ user.cpp: In function ‘void kmp(int)’: user.cpp:31:30: warning: NULL used in arithmetic [-Wpointer-arith] for(int i = 0; str[i] != NULL; i++) ^~~~ user.cpp: In function ‘int main()’: user.cpp:47:36: 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:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("carte.out", "w", stdout); ^ user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:53:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", str); ^ user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:59:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", aux); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1248ms4276kbIncorect0
Punctaj total0

Ceva nu functioneaza?