結果

問題 No.1070 Missing a space
ユーザー yuruhiyayuruhiya
提出日時 2020-06-05 21:23:15
言語 Crystal
(1.11.2)
結果
AC  
実行時間 3 ms / 1,000 ms
コード長 49 bytes
コンパイル時間 18,670 ms
コンパイル使用メモリ 255,348 KB
実行使用メモリ 4,572 KB
最終ジャッジ日時 2023-09-13 10:41:29
合計ジャッジ時間 18,202 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
4,500 KB
testcase_01 AC 3 ms
4,484 KB
testcase_02 AC 2 ms
4,456 KB
testcase_03 AC 3 ms
4,480 KB
testcase_04 AC 2 ms
4,392 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 2 ms
4,572 KB
testcase_07 AC 3 ms
4,432 KB
testcase_08 AC 2 ms
4,432 KB
testcase_09 AC 3 ms
4,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = read_line
puts s[1..].count { |c| c != '0' }
0