結果
| 問題 |
No.3004 ヤング図形
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-04-15 22:31:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 332 bytes |
| コンパイル時間 | 615 ms |
| コンパイル使用メモリ | 81,468 KB |
| 実行使用メモリ | 66,584 KB |
| 最終ジャッジ日時 | 2025-04-15 22:33:30 |
| 合計ジャッジ時間 | 2,998 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 25 |
ソースコード
mapping = {
3: 'k',
4: 'i',
7: 'd',
8: 'e',
}
while True:
line = input().strip()
if not line:
continue
n = int(line)
if n == 0:
break
if n in mapping:
print(mapping[n])
else:
# Fallback to alphabet if not in special cases
print(chr(n % 26 + ord('a')))
lam6er