結果
問題 |
No.932 解法破綻!高橋君
|
ユーザー |
![]() |
提出日時 | 2019-11-29 21:45:18 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 76 ms / 2,000 ms |
コード長 | 444 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2024-11-20 21:47:15 |
合計ジャッジ時間 | 1,642 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#!/usr/bin/env python3 import sys, math, itertools, heapq, collections, bisect input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') sys.setrecursionlimit(10**8) inf = float('inf') ans = count = 0 i=0 f=0 s=input() n=len(s) while i<n: if s[i:i+2]=="AC": i+=3 elif s[i:i+2] == "WA": f=1 i+=3 elif s[i:i+2] in {"TL","ML"}: f=1 i+=4 print("Done!" if not f else "Failed...")