#include int main(){ unsigned N,K,X,Y; std::cin>>N>>K>>X>>Y; int *A=new int[N]; int *NowHp=new int[N]; for (int i=0;i>A[i]; NowHp[i]=1; } int finish=0,UsedMp=0; while(finish==0){ int NeedHeal=0; for (int i=0;i