結果
| 問題 | No.197 手品 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-02-15 14:06:39 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 21,664 KB |
| 実行使用メモリ | 15,992 KB |
| 最終ジャッジ日時 | 2026-08-27 04:23:29 |
| 合計ジャッジ時間 | 7,326 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)