Pagini recente » Borderou de evaluare (job #386187) | Borderou de evaluare (job #3036559) | Borderou de evaluare (job #2239385) | Borderou de evaluare (job #1832902) | Borderou de evaluare (job #1343894)
Borderou de evaluare (job #1343894)
Raport evaluator
Compilare:
user.cpp: In function ‘int main(int, char**)’:
user.cpp:59:150: warning: format ‘%Ld’ expects argument of type ‘long long int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(o, "%Ld\n",fast_pow_mod(factorials[K], N / K + 1, 1000000007L) * fast_pow_mod(factorials[K - N % K],1000000005L, 1000000007L) % 1000000007L);
^
user.cpp:49:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(i, "%d\n",&T);
^
user.cpp:52:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(i, "%d %d\n", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 196ms | 4328kb | Incorect | 0 |
Punctaj total | 0 |