結果
| 問題 |
No.3004 ヤング図形
|
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-20 21:15:32 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 512 bytes |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 82,108 KB |
| 実行使用メモリ | 67,256 KB |
| 最終ジャッジ日時 | 2025-03-20 21:16:09 |
| 合計ジャッジ時間 | 2,910 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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