Pagini recente » Borderou de evaluare (job #1054394) | Borderou de evaluare (job #380712) | Borderou de evaluare (job #2160452) | Borderou de evaluare (job #2802875) | Borderou de evaluare (job #1187613)
Borderou de evaluare (job #1187613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", kmpshift[i]);
^
user.cpp:47:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", kmpshift[n - 1]);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in", "r", stdin);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out", "w", stdout);
^
user.cpp:30:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &z);
^
user.cpp:32:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1012ms | 748kb | OK | 100 |
Punctaj total | 100 |