結果

問題 No.2960 Judgement
ユーザー solo
提出日時 2025-01-28 14:57:22
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 777 ms
コード長 314 bytes
コンパイル時間 895 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2025-01-28 14:57:24
合計ジャッジ時間 1,503 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
    the_number_of_right_answers()

def the_number_of_right_answers():
    s = input()
    correct = s.count('AC') + s.count('NoOut')
    if correct >= 6:
        print('Win')
    elif correct == 5:
        print('Draw')
    else:
        print('Lose')
            
if __name__ == '__main__':
    main()
0