artclass.cpp: In function 'int style(int, int, int (*)[500], int (*)[500], int (*)[500])':
artclass.cpp:8:13: error: 'one' was not declared in this scope
8 | one++;
| ^~~
artclass.cpp:9:13: error: 'change' was not declared in this scope
9 | change += abs(R[i][j] - R[i][j + 1]);
| ^~~~~~
artclass.cpp:9:23: error: 'abs' was not declared in this scope
9 | change += abs(R[i][j] - R[i][j + 1]);
| ^~~
artclass.cpp:14:5: error: 'change' was not declared in this scope
14 | change /= total;
| ^~~~~~
artclass.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
20 | }
| ^