結果

問題 No.203 ゴールデン・ウィーク(1)
ユーザー ondy_candy
提出日時 2016-06-03 01:48:31
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 1,000 ms
コード長 285 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-18 09:42:48
合計ジャッジ時間 1,893 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
# -*- coding: utf-8 -*-

def main():

    first_week = input()
    second_week = input()
    
    day_list = first_week + second_week

    holidays = [len(i) for i in day_list.split("x")] 
    
    print(max(holidays))
    

if __name__ == '__main__':
    main()
0