memory.cpp: In function 'void play()':
memory.cpp:13:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   13 |         if(ap[x] > 3)
      |               ^
memory.cpp:14:16: warning: array subscript has type 'char' [-Wchar-subscripts]
   14 |             ap[x] = 0;
      |                ^
memory.cpp:15:12: warning: array subscript has type 'char' [-Wchar-subscripts]
   15 |         ap[x]++;
      |            ^
memory.cpp:16:15: warning: array subscript has type 'char' [-Wchar-subscripts]
   16 |         if(ap[x] == 1)
      |               ^
memory.cpp:17:18: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |             path[x] = i;
      |                  ^
memory.cpp:20:29: warning: array subscript has type 'char' [-Wchar-subscripts]
   20 |                 faceup(path[x]);
      |                             ^
memory.cpp:24:29: warning: array subscript has type 'char' [-Wchar-subscripts]
   24 |                 faceup(path[x]);
      |                             ^
memory.cpp:10:29: warning: unused variable 'nr' [-Wunused-variable]
   10 |     int ap[100], path[100], nr;
      |                             ^~