I tried to solve the problem ‘ADAKING’ from July long challenge but I am getting a SIGTSTP error on CodeChef compiler, while it is working fine on other compilers.
Here’s a small segment of code which looks simple yet giving me the error.
#include<bits/stdc++.h> using namespace std; #define max 100 int main(){ int t,k; cin>>t; while(t--){ cin>>k; char mat[max][max]; int num[max][max]; /* rest of the code */ } return 0; }
I am stuck!
Kindly help me rectify the code.