Borderou de evaluare (job #2917251)

Utilizator verde.cristian2005Verde Flaviu-Cristian verde.cristian2005 Data 4 august 2022 00:36:23
Problema Permutari 4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 18 | dp[i&1][0]=(1LL*dp[1-i&1][0]*(i-1)+1LL*dp[1-i&1][1])%MOD; | ~^~ main.cpp:18:52: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 18 | dp[i&1][0]=(1LL*dp[1-i&1][0]*(i-1)+1LL*dp[1-i&1][1])%MOD; | ~^~ main.cpp:20:29: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 20 | dp[i&1][j]=(dp[1-i&1][j-1]+1LL*dp[1-i&1][j]*(i-j-1)+1LL*dp[1-i&1][j+1]*(j+1))%MOD; | ~^~ main.cpp:20:48: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 20 | dp[i&1][j]=(dp[1-i&1][j-1]+1LL*dp[1-i&1][j]*(i-j-1)+1LL*dp[1-i&1][j+1]*(j+1))%MOD; | ~^~ main.cpp:20:73: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses] 20 | dp[i&1][j]=(dp[1-i&1][j-1]+1LL*dp[1-i&1][j]*(i-j-1)+1LL*dp[1-i&1][j+1]*(j+1))%MOD; | ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
152ms303kbOK10
241ms299kbOK10
338ms184kbOK10
43ms184kbOK10
573ms294kbOK10
628ms299kbOK10
74ms184kbOK10
86ms184kbOK10
91ms184kbOK10
101ms184kbOK10
Punctaj total100

Ceva nu functioneaza?