Borderou de evaluare (job #2543167)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 10 februarie 2020 21:54:28
Problema Cabana Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

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:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] int n, k; scanf("%d %d", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1700ms9175kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?