Borderou de evaluare (job #2543173)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 10 februarie 2020 21:57:25
Problema Cabana Status done
Runda Arhiva ICPC Compilator cpp-32 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:83: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n", 1LL * logPow(fct[k], n / k) * fct[k] % MOD * inv[k - n % k] % MOD); ^ main.cpp:20:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cabana.in", "r", stdin); ^ main.cpp:21:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cabana.out", "w", stdout); ^ main.cpp:22:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int t; scanf("%d", &t); ^ main.cpp:30:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] long long n; int k; scanf("%lld %d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1341ms9043kbOK100
Punctaj total100

Ceva nu functioneaza?