Pagini recente » Borderou de evaluare (job #2750834) | Bob | Borderou de evaluare (job #103467) | Borderou de evaluare (job #373264) | Borderou de evaluare (job #2379577)
Borderou de evaluare (job #2379577)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", (1LL * fact[n] - d[n] + 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 | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 4ms | 131kb | Incorect | 0 |
| 5 | 9ms | 131kb | Incorect | 0 |
| 6 | 30ms | 131kb | Incorect | 0 |
| 7 | 44ms | 131kb | Incorect | 0 |
| 8 | 60ms | 131kb | Incorect | 0 |
| 9 | 64ms | 131kb | Incorect | 0 |
| 10 | 64ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |