結果

問題 No.642 Two Operations No.1
ユーザー letrangerjpletrangerjp
提出日時 2018-02-02 21:44:21
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 39 bytes
コンパイル時間 423 ms
コンパイル使用メモリ 11,308 KB
実行使用メモリ 15,360 KB
最終ジャッジ日時 2023-08-30 02:06:01
合計ジャッジ時間 2,195 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,284 KB
testcase_01 WA -
testcase_02 AC 80 ms
15,056 KB
testcase_03 AC 80 ms
15,284 KB
testcase_04 AC 78 ms
15,348 KB
testcase_05 AC 79 ms
15,200 KB
testcase_06 AC 79 ms
15,268 KB
testcase_07 AC 80 ms
15,300 KB
testcase_08 AC 79 ms
15,304 KB
testcase_09 AC 79 ms
15,056 KB
testcase_10 AC 78 ms
15,304 KB
testcase_11 AC 78 ms
15,360 KB
testcase_12 AC 79 ms
15,352 KB
testcase_13 AC 79 ms
15,204 KB
testcase_14 AC 79 ms
15,068 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s="%b"%~-gets.to_i
p s.size+s.count(?0)
0