結果
問題 |
No.3020 ユークリッドの互除法・改
|
ユーザー |
![]() |
提出日時 | 2025-06-12 15:55:20 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 298 bytes |
コンパイル時間 | 423 ms |
コンパイル使用メモリ | 82,452 KB |
実行使用メモリ | 53,936 KB |
最終ジャッジ日時 | 2025-06-12 15:55:36 |
合計ジャッジ時間 | 2,292 ms |
ジャッジサーバーID (参考情報) |
judge2 / 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)))