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 | 29 |
| 30 |
Tags
- priority_queue
- html
- 아두이노 소스
- 컴퓨터 그래픽스
- arduino compiler
- LineTracer
- 자료구조
- 아두이노 컴파일러
- 통계학
- Arduino
- WinAPI
- Deque
- 운영체제
- list
- 라인트레이서
- c++
- queue
- 시스템프로그래밍
- C언어
- Visual Micro
- set
- Stack
- 수광 소자
- Array
- Algorithm
- stl
- vector
- map
- 아두이노
- directx
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 |