잡글 가득 블로그
article thumbnail
제 2회 곰곰컵 후기
PS 기록들 2022. 11. 27. 13:02

질문은 언제나 환영입니다. 어제 제 2회 곰곰컵에 참가했다. 치킨댄스를 추는 곰곰이를 본 임스 2 문제 링크 매번 D-?에서 ?만 따내서 90 이하인지 판단하여 총 개수를 구하면 된다. 더보기 #include using namespace std; #define rep(i,a,b) for (auto i = (a); i > n; rep(i,1,n) { string s; cin >> s; s = s.substr(2,siz(s)-2); if (stoi(s) > s >> t; if (st.count(s) or st.count(t)) { st.insert(s), st.insert(t); } } cout > a >> b >> c >> x >> y >> z; t = min(a,x); a -= t, x -= t; ans..

profile on loading

Loading...