Pagini recente » Borderou de evaluare (job #2444433) | Borderou de evaluare (job #2929364) | Borderou de evaluare (job #3244311) | Borderou de evaluare (job #2667308) | Borderou de evaluare (job #2379613)
Borderou de evaluare (job #2379613)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:58: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", (1LL * fact[n] - 2 * d[n] + 2 * MOD) % MOD);
^
main.cpp:8:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permsplitcount.in", "r", stdin);
^
main.cpp:9:45: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("permsplitcount.out", "w", stdout);
^
main.cpp:11:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &MOD);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 4ms | 131kb | OK | 10 |
| 5 | 8ms | 131kb | OK | 10 |
| 6 | 28ms | 131kb | OK | 10 |
| 7 | 41ms | 131kb | OK | 10 |
| 8 | 55ms | 131kb | OK | 10 |
| 9 | 59ms | 131kb | OK | 10 |
| 10 | 60ms | 131kb | OK | 10 |
| Punctaj total | 100 |