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