Borderou de evaluare (job #1465891)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:29:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d\n", DP[n] % MOD);
^
user.c:16:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ccount.in", "r", stdin);
^
user.c:17:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ccount.out", "w", stdout);
^
user.c:19:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.c:21:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 20 |
2 | 0ms | 260kb | OK | 20 |
3 | 0ms | 656kb | OK | 20 |
4 | 0ms | 296kb | OK | 20 |
5 | 0ms | 564kb | OK | 20 |
Punctaj total | 100 |