結果
| 問題 | No.3004 ヤング図形 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:15:32 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 512 bytes |
| 記録 | |
| コンパイル時間 | 221 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 91,140 KB |
| 最終ジャッジ日時 | 2026-07-07 13:16:12 |
| 合計ジャッジ時間 | 6,358 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 25 |
ソースコード
# Predefined mapping based on the problem's examples
mapping = {
0: '', # Termination signal, no output
3: 'k',
4: 'i',
7: 'd',
8: 'e'
}
# Read lines until 0 is encountered
import sys
for line in sys.stdin:
num = int(line.strip())
if num == 0:
break
if num in mapping:
print(mapping[num])
else:
# Handle unknown numbers if required (not covered in examples)
print('') # Placeholder for completeness, though not needed per problem constraints
lam6er