1### Compilation failed: 2 3error: 1: operator '~' is not allowed 4int bit_not(int x) { return ~x; } 5 ^^ 6error: 3: operator '%' is not allowed 7int remainder(int x) { return x % 2; } 8 ^^^^^^ 9error: 4: operator '%=' is not allowed 10int remainder_eq(int x) { return x %= 2;} 11 ^^^^^^ 12error: 6: operator '<<' is not allowed 13int shl (int x) { return x << 1; } 14 ^^^^^^^ 15error: 7: operator '<<=' is not allowed 16int shl_eq(int x) { return x <<= 1; } 17 ^^^^^^^ 18error: 8: operator '>>' is not allowed 19int shr (int x) { return x >> 1; } 20 ^^^^^^^ 21error: 9: operator '>>=' is not allowed 22int shr_eq(int x) { return x >>= 1; } 23 ^^^^^^^ 24error: 11: operator '&' is not allowed 25int bit_and (int x) { return x & 1; } 26 ^^^^^^ 27error: 12: operator '&=' is not allowed 28int bit_and_eq(int x) { return x &= 1; } 29 ^^^^^^ 30error: 13: operator '|' is not allowed 31int bit_or (int x) { return x | 1; } 32 ^^^^^^ 33error: 14: operator '|=' is not allowed 34int bit_or_eq (int x) { return x |= 1; } 35 ^^^^^^ 36error: 15: operator '^' is not allowed 37int bit_xor (int x) { return x ^ 1; } 38 ^^^^^^ 39error: 16: operator '^=' is not allowed 40int bit_xor_eq(int x) { return x ^= 1; } 41 ^^^^^^ 4213 errors 43