https://www.acmicpc.net/problem/11654

import Foundation
let chars = readLine()!.map{$0}
for ch in chars {
print(ch.asciiValue!)
}
asciiValue | Apple Developer Documentation
The ASCII encoding value of this character, if it is an ASCII character.
developer.apple.com
728x90
'Test > Coding Tests' 카테고리의 다른 글
| [백준] 별찍기 7 (0) | 2025.01.05 |
|---|---|
| [Backjoon] 10810 공 넣기 (0) | 2024.11.10 |
| [BaekJoon] A+B - 4 (0) | 2024.10.06 |
| [BaekJoon] A+B - 5 (0) | 2024.10.06 |
| [Programmers] 수 조작하기 1 (0) | 2024.09.17 |