結果
問題 | No.2960 Judgement |
ユーザー |
![]() |
提出日時 | 2024-11-16 15:33:27 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 824 bytes |
コンパイル時間 | 480 ms |
コンパイル使用メモリ | 82,272 KB |
実行使用メモリ | 65,280 KB |
最終ジャッジ日時 | 2024-11-16 15:33:33 |
合計ジャッジ時間 | 2,443 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 16 |
ソースコード
from collections import defaultdict, deque, Counterfrom functools import cache# import copyfrom itertools import combinations, permutations, product, accumulate, groupby, chainfrom more_itertools import distinct_permutationsfrom heapq import heapify, heappop, heappush, heappushpopimport mathimport bisectfrom pprint import pprintfrom random import randint, shuffle, randrangefrom sortedcontainers import SortedSet, SortedList, SortedDictimport 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')