foo.cc: In function 'int main()':
foo.cc:16:18: warning: 'n' is used uninitialized in this function [-Wuninitialized]
16 | cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
| ~~^~~
foo.cc:16:15: warning: 'x' is used uninitialized in this function [-Wuninitialized]
16 | cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
| ~^~~~~~
foo.cc:16:27: warning: 'k' is used uninitialized in this function [-Wuninitialized]
16 | cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
| ~~~~^~~~~
foo.cc:16:39: warning: 'm' is used uninitialized in this function [-Wuninitialized]
16 | cout << (x%(n+1)+(qpow(k,n)%(n+1)*m%(n+1))%(n+1))%(n+1) << endl;
| ^
[Hydro](https://hydro.ac)提供评测服务