結果
問題 | No.2960 Judgement |
ユーザー |
![]() |
提出日時 | 2024-11-18 12:32:21 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 45 ms / 777 ms |
コード長 | 639 bytes |
コンパイル時間 | 478 ms |
コンパイル使用メモリ | 82,272 KB |
実行使用メモリ | 57,528 KB |
最終ジャッジ日時 | 2024-11-18 12:32:23 |
合計ジャッジ時間 | 2,014 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
from collections import defaultdict, deque, Counterfrom functools import cache# import copyfrom itertools import combinations, permutations, product, accumulate, groupby, chainfrom heapq import heapify, heappop, heappush, heappushpopimport mathimport bisectimport sys# sys.setrecursionlimit(2000000)input = lambda: sys.stdin.readline().rstrip('\n')inf = float('inf')mod1 = 10**9+7mod2 = 998244353def ceil_div(x, y): return -(-x//y)#################################################S = list(input().split())cnt = 0for s in S:cnt += (s=="AC" or s=="NoOut")print('Win' if cnt > 5 else 'Lose' if cnt < 5 else 'Draw')