memory.cpp: In function 'void play()':
memory.cpp:7:13: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
7 | dat[i]=-1;
| ~~~~~~^~~
memory.cpp:6:17: note: within this loop
6 | for(int i=0;i<26;i++){
| ~^~~
memory.cpp:7:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' writing 104 bytes into a region of size 100 overflows the destination [-Wstringop-overflow=]
7 | dat[i]=-1;
| ~~~~~~^~~
memory.cpp:5:8: note: destination object 'dat' of size 100
5 | int dat[25];
| ^~~