結果
問題 | No.495 (^^*) Easy |
ユーザー | sgr |
提出日時 | 2017-11-10 18:33:33 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 168 bytes |
コンパイル時間 | 94 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-05-03 12:12:07 |
合計ジャッジ時間 | 866 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | RE | - |
testcase_01 | RE | - |
testcase_02 | RE | - |
testcase_03 | RE | - |
testcase_04 | RE | - |
testcase_05 | RE | - |
testcase_06 | RE | - |
ソースコード
S = str(input()) a = len(S) b = a-1 c = b/5 right = 0 left = 0 for i in range(b): d = S[5*i+4] if d == '*': left += 1 else: right += 1 print(left + ' ' + right)