Recent Posts
Notice
No Rules Rules
햄버거 만들기 (feat. 백준, 25628번) 본문
728x90
반응형
햄버거 만들기
https://www.acmicpc.net/problem/25628
반응형
// woohyeon.kim
// kim519620.tistory.com
#include <iostream>
using namespace std;
int main(){
ios::sync_with_stdio(false), cin.tie(NULL);
register int A, B;
cin >> A >> B;
A >>= 1;
if(A > B)
cout << B;
else
cout << A;
return 0;
}
// *&)*@*
단순 연산 문제입니다.
728x90
반응형
'생활 > 코테' 카테고리의 다른 글
균형 잡힌 소떡소떡 (feat. 백준, 25641번) (0) | 2022.09.27 |
---|---|
젓가락 게임 (feat. 백준, 25642번) (0) | 2022.09.27 |
팰린드롬 소떡소떡 (feat. 백준, 25630번) (0) | 2022.09.27 |
Z (feat. 백준, 1074번) (0) | 2022.09.27 |
연결 요소의 개수 (feat. 백준, 11724번) (0) | 2022.09.26 |
Comments