[알고리즘] 백준 11098 - 첼시를 도와줘! (C++) [문제 링크] : https://www.acmicpc.net/problem/11098#include using namespace std;int main(){ int T, N; cin >> T; while(T--){ cin >> N; int cnt = 0, inp; string s, tmp; for(int i=0; i> inp >> tmp; if(inp > cnt){ cnt = inp; s = tmp; } } cout 알고리즘 2024.09.03