artclass.cpp: In function 'int style(int, int, int (*)[500], int (*)[500], int (*)[500])':
artclass.cpp:6:27: warning: unused variable 'three' [-Wunused-variable]
6 | int one = 0, two = 0, three = 0, four = 0;
| ^~~~~
artclass.cpp: In function 'int none()':
artclass.cpp:48:25: error: cannot convert 'std::vector<std::vector<int> >' to 'int (*)[500]'
48 | cout << style(h, w, r, g, b);
| ^
| |
| std::vector<std::vector<int> >
artclass.cpp:5:29: note: initializing argument 3 of 'int style(int, int, int (*)[500], int (*)[500], int (*)[500])'
5 | int style(int h, int w, int r[500][500], int g[500][500], int b[500][500]) {
| ~~~~^~~~~~~~~~~
artclass.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
49 | }
| ^