結果
問題 | No.400 鏡 |
ユーザー |
|
提出日時 | 2019-05-22 19:03:46 |
言語 | Swift (6.0.3) |
結果 |
AC
|
実行時間 | 10 ms / 2,000 ms |
コード長 | 188 bytes |
コンパイル時間 | 617 ms |
コンパイル使用メモリ | 119,088 KB |
実行使用メモリ | 8,960 KB |
最終ジャッジ日時 | 2024-11-30 14:08:22 |
合計ジャッジ時間 | 1,402 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 8 |
ソースコード
let input:[String] = readLine()!.map{String($0)}var output:String = ""for i in 1 ... input.count {let str = input[input.count-i] == ">" ? "<" : ">"output += str}print(output)