문제https://www.acmicpc.net/problem/16434 해설stack에 담고 뒤에서 부터 풀면 쉽게 풀 수 있음 코드1234567891011121314151617181920212223242526272829303132333435363738394041424344454647#includeiostream>#includealgorithm>#includestack> using namespace std;typedef long long ll;ll room_num, str, hp,room_type,room_str,room_hp,attack_cnt,max_hp;stacktupleint,int,int>> s; int main(){ ios_base::sync_with_stdio(false); cin.tie..