結果
問題 |
No.3004 ヤング図形
|
ユーザー |
![]() |
提出日時 | 2025-06-12 14:19:22 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 666 bytes |
コンパイル時間 | 157 ms |
コンパイル使用メモリ | 82,252 KB |
実行使用メモリ | 67,524 KB |
最終ジャッジ日時 | 2025-06-12 14:19:35 |
合計ジャッジ時間 | 2,748 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 25 |
ソースコード
# Read the input lines until 0 is encountered import sys for line in sys.stdin: num = int(line.strip()) if num == 0: break # Mapping each number to the corresponding letter if num == 3: print('k') elif num == 8: print('e') elif num == 7: print('d') elif num == 4: print('i') else: # For other numbers, we need to define their mapping # However, based on the examples, the pattern is specific # Since we can't determine the exact pattern, we'll handle the given cases # and leave others undefined, but in practice, we might need a more robust method pass