Problem warp
User PlayVoltz
Submission Time 2023-12-10 16:27:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

warp.cpp: In function ‘long long int warp(long long int)’:
warp.cpp:17:23: error: expected primary-expression before ‘}’ token
17 | if (vect[i]&vect[j])}
| ^
warp.cpp: At global scope:
warp.cpp:18:4: error: ‘dp’ does not name a type
18 | dp[i]=(dp[i]+__builtin_popcountll(vect[i]&vect[j])*warp(j)*2)%MOD;
| ^~
warp.cpp:19:4: error: expected unqualified-id before ‘break’
19 | break;
| ^~~~~
warp.cpp:20:3: error: expected declaration before ‘}’ token
20 | }
| ^
warp.cpp:21:2: error: expected unqualified-id before ‘return’
21 | return dp[i];
| ^~~~~~
warp.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^