Lang:G++
Edit12345678910111213141516171819202122232425262728293031#include<iostream>using namespace std;char maze[10][10];int n, m;int player_hp;int player_attack;int entrance_i;int entrance_j;unsigned allmask;int visited[1 << 28];struct Monster{int hp;int attack;char type;int cost[6];int buff[6];void set(int h, int a, char t){hp = h;attack = a;type = t;}void cal(){for (int i = 0; i <= 5; ++i)