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