Problem distribution
User jeongwonho64
Submission Time 2023-03-26 11:26:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

distribution.cpp: In function ‘void bfs(int, int, int)’:
distribution.cpp:9:1758: error: expected primary-expression before ‘]’ token
9 | int qexp(int a,int b,int m){if (!(b ^ 0x0000000000000000))return (0x0000000000000002 + 0x0000000000000201 + 0x0000000000000801 - 0x0000000000000A03);;int half=qexp(a,b / (0x0000000000000004 + 0x0000000000000202 + 0x0000000000000802 - 0x0000000000000A06),m);half *= half;half %= m;if (!(b % (0x0000000000000004 + 0x0000000000000202 + 0x0000000000000802 - 0x0000000000000A06) ^ 0x0000000000000001))half *= a;;return half % m;};void bfs(int cur,int mask,int delta){if ((cur > half) & !!(cur > half)){iter2++;if ((iter2 > maxiter1) & !!(iter2 > maxiter1)){return ;};if (!(delta ^ 0x0000000000000000)){std::vector<int> aans,bans;;int cnt=(0x0000000000000000 + 0x0000000000000200 + 0x0000000000000800 - 0x0000000000000A00);while (mask){if (!(mask % (0x0000000000000006 + 0x0000000000000203 + 0x0000000000000803 - 0x0000000000000A09) ^ 0x000