結果
| 問題 |
No.197 手品
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-02-15 14:06:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 199 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-14 13:54:02 |
| 合計ジャッジ時間 | 3,105 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 41 WA * 2 |
ソースコード
b = input()
n = int(input())
a = input()
ans = "FAILURE"
if b.count("o") != a.count("o"):
ans = "SUCCESS"
elif n == 0:
if b != a:
ans = "SUCCESS"
elif n == 1:
if b == a == "oxo" or b == a =="xox":
ans = "SUCCESS"
print(ans)