結果
| 問題 |
No.3004 ヤング図形
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 19:21:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 666 bytes |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 82,488 KB |
| 実行使用メモリ | 67,488 KB |
| 最終ジャッジ日時 | 2025-06-12 19:21:12 |
| 合計ジャッジ時間 | 3,025 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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
gew1fw