結果
問題 |
No.3004 ヤング図形
|
ユーザー |
![]() |
提出日時 | 2025-04-16 15:51:53 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 293 bytes |
コンパイル時間 | 142 ms |
コンパイル使用メモリ | 81,524 KB |
実行使用メモリ | 66,844 KB |
最終ジャッジ日時 | 2025-04-16 15:52:35 |
合計ジャッジ時間 | 2,462 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 25 |
ソースコード
# Read numbers until 0 is encountered and map them to corresponding letters mapping = { 3: 'k', 4: 'i', 7: 'd', 8: 'e' } while True: line = input().strip() if not line: continue num = int(line) if num == 0: break print(mapping.get(num, ''))