#include using namespace std; #define ll long long int main(){ int n, m; cin >>n >>m; int shade[n]; int FishP[m]; int Nshade[m]; int Yshade[m]; int Dist[m]; int tot=0; int move=0; for(int i=0; i> shade[i]; } for(int i=0; i> FishP[i] >> Nshade[i] >> Yshade[i]; } for(int i=0; i