結果
| 問題 |
No.3020 ユークリッドの互除法・改
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 20:46:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 298 bytes |
| コンパイル時間 | 287 ms |
| コンパイル使用メモリ | 81,920 KB |
| 実行使用メモリ | 51,840 KB |
| 最終ジャッジ日時 | 2025-06-12 20:47:11 |
| 合計ジャッジ時間 | 2,497 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 21 |
ソースコード
s = input().strip()
counts = [0, 0, 0, 0, 0]
for c in s:
if c == 'Y':
counts[0] += 1
elif c == 'E':
counts[1] += 1
elif c == 'A':
counts[2] += 1
elif c == 'H':
counts[3] += 1
elif c == '!':
counts[4] += 1
print(' '.join(map(str, counts)))
gew1fw