Borderou de evaluare (job #2591428)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 30 martie 2020 15:26:40
Problema Vampir Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:38:35: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n", divizori.size()); ^ main.cpp:46:129: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] printf("%lld", ((long long)2 * (fast_pow(fact[l / 2 - 1], MOD - 2) * ((fast_pow(fact[l / 4], MOD - 2) * fast_pow(fact[l / 4 + (l / 4) & 1], MOD - 2)) % MOD) % MOD)) % MOD); ~~~~~~^~~~~~~~~ main.cpp:25:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("vampir.in", "r", stdin); ^ main.cpp:26:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("vampir.out", "w", stdout); ^ main.cpp:28:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &cerinta, &l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbIncorect00
23ms131kbIncorect0
33ms184kbIncorect00
43ms131kbIncorect00
53ms131kbIncorect00
680ms16400kbMemory limit exceeded00
780ms16400kbMemory limit exceeded0
868ms16400kbMemory limit exceeded00
981ms16396kbMemory limit exceeded00
1075ms16400kbMemory limit exceeded00
Punctaj total0

Ceva nu functioneaza?