結果

問題 No.671 1000000007
ユーザー 💕💖💞💕💖💞
提出日時 2018-05-07 23:00:19
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 284 ms / 2,000 ms
コード長 117 bytes
コンパイル時間 11,438 ms
コンパイル使用メモリ 411,484 KB
実行使用メモリ 52,832 KB
最終ジャッジ日時 2023-08-12 23:37:26
合計ジャッジ時間 15,921 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 279 ms
52,764 KB
testcase_01 AC 279 ms
52,652 KB
testcase_02 AC 278 ms
52,832 KB
testcase_03 AC 275 ms
52,684 KB
testcase_04 AC 277 ms
52,796 KB
testcase_05 AC 280 ms
52,760 KB
testcase_06 AC 279 ms
52,788 KB
testcase_07 AC 279 ms
52,784 KB
testcase_08 AC 276 ms
52,720 KB
testcase_09 AC 281 ms
52,696 KB
testcase_10 AC 284 ms
52,704 KB
testcase_11 AC 276 ms
52,788 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args:Array<String>) {
         ^

ソースコード

diff #

fun main(args:Array<String>) {
  val n = readLine()!!.toList().filter { it == '0' }.size
  println(Math.abs(8 - n))
}
0