結果

問題 No.1217 せしすせそ
ユーザー MaboyMaboy
提出日時 2021-06-20 14:15:43
言語 Swift
(5.10.0)
結果
AC  
実行時間 4 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 561 ms
コンパイル使用メモリ 108,660 KB
実行使用メモリ 7,652 KB
最終ジャッジ日時 2023-09-05 01:25:43
合計ジャッジ時間 2,275 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
7,516 KB
testcase_01 AC 3 ms
7,608 KB
testcase_02 AC 3 ms
7,500 KB
testcase_03 AC 3 ms
7,508 KB
testcase_04 AC 3 ms
7,400 KB
testcase_05 AC 3 ms
7,652 KB
testcase_06 AC 3 ms
7,464 KB
testcase_07 AC 3 ms
7,544 KB
testcase_08 AC 3 ms
7,456 KB
testcase_09 AC 3 ms
7,504 KB
testcase_10 AC 3 ms
7,512 KB
testcase_11 AC 3 ms
7,568 KB
testcase_12 AC 3 ms
7,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let s = Array(readLine()!).map{String($0)}
let a = Array("abcdefghijklmnopqrstuvwxyz").map{String($0)}
for i in 0...a.count - 1{
    if s[i] != a[i]{
        print(a[i] + "to" + s[i])
    }
}
0