https://www.codechef.com/ZCOPRAC/problems/ZCO14001

my answer
https://www.codechef.com/viewsolution/27072216
can anyone tell whats wrong
its running good in my pc

initialise variable command(line 21) with some value maybe? or add a “cin>>command” before the for loop (line 22)…