c#include <bits/stdc++.h> using namespace std; bool checkMelt(); void bfs(); bool isVisit[101][101]; int paper[101][101]; int N, M
#include <bits/stdc++.h> using namespace std; bool checkMelt(); void bfs(); bool isVisit[101][101]; int paper[101][101]; int N, M