結果
| 問題 | No.3004 ヤング図形 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 18:53:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 512 bytes |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 82,496 KB |
| 実行使用メモリ | 67,396 KB |
| 最終ジャッジ日時 | 2025-03-20 18:54:08 |
| 合計ジャッジ時間 | 2,793 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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