Borderou de evaluare (job #2400862)

Utilizator alexradu04Radu Alexandru alexradu04 Data 9 aprilie 2019 10:44:58
Problema Xnumere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:52:16: warning: operation on 'fact[i]' may be undefined [-Wsequence-point] fact[i]=fact[i]=(fact[i-1]*i)%MOD; ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:63:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] printf("%d\n",(1LL*dp[x]*comb(k,x))%MOD); ^ main.cpp:43:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("xnumere.in","r",stdin); ^ main.cpp:44:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("xnumere.out","w",stdout); ^ main.cpp:46:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&k,&x,&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
32ms131kbOK5
44ms131kbIncorect0
53ms131kbIncorect0
64ms131kbIncorect0
72ms131kbIncorect0
85ms131kbIncorect0
91000ms131kbTime limit exceeded0
106ms131kbIncorect0
111003ms131kbTime limit exceeded0
125ms131kbIncorect0
13239ms131kbIncorect0
1434ms131kbIncorect0
1534ms131kbIncorect0
1691ms131kbIncorect0
171000ms131kbTime limit exceeded0
181002ms786kbTime limit exceeded0
191003ms131kbTime limit exceeded0
201001ms131kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?