結果

問題 No.32 貯金箱の憂鬱
ユーザー keiden
提出日時 2024-09-16 14:52:01
言語 Scheme
(Gauche-0.9.15)
結果
AC  
実行時間 25 ms / 5,000 ms
コード長 280 bytes
コンパイル時間 230 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 16,128 KB
最終ジャッジ日時 2024-09-16 14:52:03
合計ジャッジ時間 1,745 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

(define yuki32
  (let*
    (
      (l (read))
      (m (read))
      (n (read))
      (p (+ m (quotient n 25)))
      (q (modulo n 25))
      (r (+ l (quotient p 4)))
      (s (modulo p 4))
      (t (modulo r 10))
      (ans (+ q s t))
    )
    (display ans)
    (newline)
  )
)
0