artclass.cpp: In function 'int style(int, int, int (*)[500], int (*)[500], int (*)[500])':
artclass.cpp:32:20: warning: narrowing conversion of '(int)std::max<int>(1, (*(R + ((sizetype)(((long unsigned int)i) * 2000))))[j])' from 'int' to 'long double' [-Wnarrowing]
32 | img[i][j] = {max(1,R[i][j]),max(1,G[i][j]),max(1,B[i][j])};
| ~~~^~~~~~~~~~~
artclass.cpp:32:35: warning: narrowing conversion of '(int)std::max<int>(1, (*(G + ((sizetype)(((long unsigned int)i) * 2000))))[j])' from 'int' to 'long double' [-Wnarrowing]
32 | img[i][j] = {max(1,R[i][j]),max(1,G[i][j]),max(1,B[i][j])};
| ~~~^~~~~~~~~~~
artclass.cpp:32:50: warning: narrowing conversion of '(int)std::max<int>(1, (*(B + ((sizetype)(((long unsigned int)i) * 2000))))[j])' from 'int' to 'long double' [-Wnarrowing]
32 | img[i][j] = {max(1,R[i][j]),max(1,G[i][j]),max(1,B[i][j])};
| ~~~^~~~~~~~~~~