結果

問題 No.197 手品
ユーザー tookunn_1213
提出日時 2015-04-28 23:35:14
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-27 07:14:33
合計ジャッジ時間 2,016 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 34 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

before = list(raw_input())
N = int(raw_input())
after = list(raw_input())
count = 0
for i in range(3):
	if before[i] != after[i]:
		count+=1
if count <= N:
	print 'FAILURE'
else:
	print 'SUCCESS'
0