0_0_39064867_23725.cpp: In function 'int count_locks(int)':
0_0_39064867_23725.cpp:16:21: error: 'abs' was not declared in this scope
16 | if (abs(j - d) == 3 && d != j) {
| ^~~
0_0_39064867_23725.cpp:26:27: error: expected ';' at end of input
26 | for (int d = 1; d <= 4
| ^
| ;
0_0_39064867_23725.cpp:26:27: error: expected primary-expression at end of input
0_0_39064867_23725.cpp:26:27: error: expected ')' at end of input
26 | for (int d = 1; d <= 4
| ~ ^
| )
0_0_39064867_23725.cpp:26:27: error: expected statement at end of input
0_0_39064867_23725.cpp:26:27: error: expected '}' at end of input
0_0_39064867_23725.cpp:3:24: note: to match this '{'
3 | int count_locks(int N) {
| ^
|