結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー rocoderrocoder
提出日時 2017-06-04 14:07:06
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 11,788 KB
実行使用メモリ 9,960 KB
最終ジャッジ日時 2023-10-22 04:19:43
合計ジャッジ時間 1,687 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,960 KB
testcase_01 AC 28 ms
9,960 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 26 ms
9,960 KB
testcase_07 WA -
testcase_08 AC 25 ms
9,960 KB
testcase_09 AC 25 ms
9,960 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 27 ms
9,960 KB
testcase_14 WA -
testcase_15 AC 27 ms
9,960 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 26 ms
9,960 KB
testcase_19 AC 27 ms
9,960 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 27 ms
9,960 KB
testcase_24 WA -
testcase_25 AC 26 ms
9,960 KB
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 25 ms
9,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

L=list(input())
T=list(input())
i=6
while i>=0 and L[i]=="o":
    i-=1
G=6-i
i=0
while i<7 and T[i]=="o":
    i+=1
G+=i
print (G)
0