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
- queue
- 아두이노 컴파일러
- LineTracer
- set
- 통계학
- Algorithm
- directx
- list
- Arduino
- Visual Micro
- stl
- WinAPI
- Deque
- 수광 소자
- 시스템프로그래밍
- C언어
- map
- 컴퓨터 그래픽스
- 자료구조
- 라인트레이서
- 운영체제
- 아두이노 소스
- priority_queue
- 아두이노
- arduino compiler
- Array
- vector
- c++
- html
- Stack
Archives
- Today
- Total
Kim's Programming
2050. 알파벳을 숫자로 변환 본문
2050. 알파벳을 숫자로 변환
풀이 방법
<코드>
#include <iostream> #include <string.h> int main() { char input[200 +1]; std::cin>>input; int length = strlen(input); for(int i=0;i<length;i++) std::cout<<static_cast<int>(input[i] -64)<<" "; std::cout<<"\n"; return 0; }
'SW ExpertAcademy > D1' 카테고리의 다른 글
| 2058. 자릿수 더하기 (0) | 2018.11.30 |
|---|---|
| 2056. 연월일 달력 (0) | 2018.11.30 |
| 2047. 신문 헤드라인 (0) | 2018.11.30 |
| 2046. 스탬프 찍기 (0) | 2018.11.30 |
| 2043. 서랍의 비밀번호 (0) | 2018.11.30 |