結果
問題 |
No.197 手品
|
ユーザー |
![]() |
提出日時 | 2015-04-28 23:35:56 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 43 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-27 07:14:49 |
合計ジャッジ時間 | 1,747 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 34 WA * 9 |
ソースコード
before = list(raw_input()) N = 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'