Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 수광 소자
- Stack
- arduino compiler
- set
- html
- c++
- Array
- Arduino
- C언어
- 통계학
- Deque
- 아두이노
- 시스템프로그래밍
- 아두이노 컴파일러
- 운영체제
- priority_queue
- 라인트레이서
- 컴퓨터 그래픽스
- directx
- queue
- WinAPI
- LineTracer
- list
- Algorithm
- vector
- map
- 자료구조
- stl
- Visual Micro
- 아두이노 소스
Archives
- Today
- Total
Kim's Programming
2070. 큰 놈, 작은 놈, 같은 놈 본문
2070. 큰 놈, 작은 놈, 같은 놈
풀이 방법
<코드>
#include <iostream> int main() { int n{0}; std::cin>>n; for(int testCase =1;testCase <=n;testCase ++) { int input1{0},input2{0}; std::cin>>input1>>input2; if(input1>input2) std::cout<<"#"<<testCase<<' '<<">" <<"\n"; else if(input1<input2) std::cout<<"#"<<testCase<<' '<<"<" <<"\n"; else std::cout<<"#"<<testCase<<' '<<"=" <<"\n"; } return 0; }
'SW ExpertAcademy > D1' 카테고리의 다른 글
2072. 홀수만 더하기 (0) | 2018.11.30 |
---|---|
2071. 평균값 구하기 (0) | 2018.11.30 |
2068. 최대수 구하기 (0) | 2018.11.30 |
2063. 중간값 찾기 (0) | 2018.11.30 |
2058. 자릿수 더하기 (0) | 2018.11.30 |