No.676 C0nvertPr0b1em
レベル :
/ AI推定難易度 : 96
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 549
作問者 :
butsurizuki
/ テスター :
ciel
タグ : / 解いたユーザー数 549
作問者 :
butsurizuki
/ テスター :
問題文最終更新日: 2026-10-11 21:45:11
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 189
(順位表)
の他の問題:
Problem Statement
You are given a string $S$ consisting of uppercase and lowercase English letters.
Convert uppercase I and lowercase l to 1,
and uppercase O and lowercase o to 0,
respectively, and output the result.
Input
$S$
$S$ is given on one line.
- Constraints
$1 \le |S| \le 1000$ ($|S|$ is the length of the string $S$)
Output
Output the answer on one line, followed by a newline.
Sample
Sample 1
Input
ConvertProblem
Output
C0nvertPr0b1em
Sample 2
Input
LIONlion
Output
L10N1i0n
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。