Main.cpp: In function 'int main()':
Main.cpp:6:13: warning: unused variable 'm' [-Wunused-variable]
6 | int n , m , t , k , o , p , r;
| ^
Main.cpp:15:8: warning: array subscript 8 is above array bounds of 'int [8]' [-Warray-bounds]
15 | a[8] = -1;
| ~~~^
Main.cpp:3:5: note: while referencing 'a'
3 | int a[8];
| ^
Main.cpp:37:19: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
37 | if(p > 100){p = p - 50;}
| ~~^~~~~~~~
Main.cpp:36:19: warning: 'o' may be used uninitialized in this function [-Wmaybe-uninitialized]
36 | if(o > 100){o = o - 50;}
| ~~^~~~~~~~