[알고리즘] 백준 12790 - Mini Fantasy War (C++) [문제 링크] : https://www.acmicpc.net/problem/12790#include using namespace std;int Arr[8];int main(){ int T; cin >> T; for(int j=0; j> Arr[i]; } Arr[0] += Arr[4]; Arr[1] += Arr[5]; Arr[2] += Arr[6]; Arr[3] += Arr[7]; Arr[0] 알고리즘 2024.12.21