/in/sam.cpp: In function 'int main(int, char**)':
/in/sam.cpp:204:12: error: deleting array 'mem' [-Werror]
delete mem;
^~~
/in/sam.cpp:121:12: error: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Werror=unused-result]
freopen("C:\\Users\\win10\\Desktop\\2021\\280\\p5\\p5\\sample.in", "r", stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:16: recipe for target 'buildStackMachine' failed
make: *** [buildStackMachine] Error 1