結果
問題 | No.2960 Judgement |
ユーザー |
|
提出日時 | 2024-11-16 15:42:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 777 ms |
コード長 | 489 bytes |
コンパイル時間 | 497 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-11-16 15:42:16 |
合計ジャッジ時間 | 1,829 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 |
ソースコード
import sys def main(): # sys.setrecursionlimit(100000) input = lambda: sys.stdin.readline()[:-1] S = input().split() ac = 0 for si in S: if si == "AC" or si == "NoOut": ac += 1 if ac > 5: print("Win") elif ac == 5: print("Draw") else: print("Lose") if not __debug__: f = open(sys.argv[1], "r") sys.stdin = f # try: # sys.set_int_max_str_digits(100000) # except AttributeError: # pass main()