#include #include using namespace std; char c[1010][1010]; int main(){ int i,j,n,k,p; cin >> n >> k; p = n; int m = (n + k - 1)/k; while(m*m0 && now