結果
問題 | No.2960 Judgement |
ユーザー |
|
提出日時 | 2024-11-16 15:34:20 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 777 ms |
コード長 | 729 bytes |
コンパイル時間 | 426 ms |
コンパイル使用メモリ | 82,220 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-11-16 15:34:22 |
合計ジャッジ時間 | 1,927 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
"""input""" #int-input # input = sys.stdin.readline def II(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(MI()) #str-input def SI(): return input() def MSI(): return input().split() def SI_L(): return list(SI()) def SI_LI(): return list(map(int, SI())) #multiple-input def LLI(n): return [LI() for _ in range(n)] def LSI(n): return [SI() for _ in range(n)] #1-indexを0-indexでinput def MI_1(): return map(lambda x:int(x)-1, input().split()) def TI_1(): return tuple(MI_1()) def LI_1(): return list(MI_1()) s = list(input().split()) cnt = 0 for i in s: if i in {"AC","NoOut"}: cnt += 1 if cnt >= 6: print("Win") elif cnt == 5: print("Draw") else: print("Lose")