結果

問題 No.381 名声値を稼ごう Extra
ユーザー kokoa1046kokoa1046
提出日時 2017-09-08 12:14:22
言語 Scheme
(Gauche-0.9.14)
結果
TLE  
実行時間 -
コード長 122 bytes
コンパイル時間 245 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 30,720 KB
最終ジャッジ日時 2024-04-24 20:05:53
合計ジャッジ時間 9,576 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
15,872 KB
testcase_01 TLE -
権限があれば一括ダウンロードができます

ソースコード

diff #

(define n (read))
(define (plusx x sum)(if (= x 0)sum(+ sum x (plusx (quotient x 2) sum))))
(print (- (* 2 n)(plusx n 0)))
0