Pagini recente » Borderou de evaluare (job #2094820) | Borderou de evaluare (job #2826149) | Borderou de evaluare (job #1076526) | Borderou de evaluare (job #545052) | Borderou de evaluare (job #2188679)
Borderou de evaluare (job #2188679)
Raport evaluator
Compilare:
user.cpp: In function ‘int prepare()’:
user.cpp:16:26: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 1; aux[i] != NULL; i++)
^~~~
user.cpp: In function ‘void kmp(int)’:
user.cpp:32:30: warning: NULL used in arithmetic [-Wpointer-arith]
for(int i = 0; str[i] != NULL; i++)
^~~~
user.cpp: In function ‘int main()’:
user.cpp:48: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:49: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:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:54:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:60: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 |
1 | 48ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |