Pagini recente » Borderou de evaluare (job #390034) | Borderou de evaluare (job #1360014) | Borderou de evaluare (job #2989156) | Borderou de evaluare (job #2051058) | Borderou de evaluare (job #1476530)
Borderou de evaluare (job #1476530)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:79: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", (2LL * comb(n - 2, k / 2) * comb(n - 2, (k - 1) / 2)) % mod);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum3.in", "r", stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum3.out", "w", stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 4ms | 308kb | OK | 10 |
7 | 4ms | 304kb | OK | 10 |
8 | 4ms | 308kb | OK | 10 |
9 | 4ms | 308kb | OK | 10 |
10 | 4ms | 312kb | OK | 10 |
Punctaj total | 100 |