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