結果

問題 No.289 数字を全て足そう
ユーザー KisaragiEffective
提出日時 2019-11-09 15:17:07
言語 Kotlin
(2.1.0)
結果
WA  
実行時間 -
コード長 69 bytes
コンパイル時間 11,489 ms
コンパイル使用メモリ 434,236 KB
実行使用メモリ 57,048 KB
最終ジャッジ日時 2024-09-15 04:30:20
合計ジャッジ時間 20,689 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 21
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:54: warning: 'toInt(): Int' is deprecated. Conversion of Char to Number is deprecated. Use Char.code property instead.
fun main(){println(readLine()!!.toCharArray().map{it.toInt()}.sum())}
                                                     ^

ソースコード

diff #

fun main(){println(readLine()!!.toCharArray().map{it.toInt()}.sum())}
0