結果
問題 | No.1070 Missing a space |
ユーザー |
|
提出日時 | 2021-06-19 21:21:40 |
言語 | Swift (6.0.3) |
結果 |
AC
|
実行時間 | 9 ms / 1,000 ms |
コード長 | 82 bytes |
コンパイル時間 | 806 ms |
コンパイル使用メモリ | 123,992 KB |
実行使用メモリ | 9,344 KB |
最終ジャッジ日時 | 2024-06-22 22:20:20 |
合計ジャッジ時間 | 1,487 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
let c = Array(readLine()!).sorted(by: >) + ["0"]print(c.firstIndex(of: "0")! - 1)