結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
nohopen
|
| 提出日時 | 2019-02-11 16:43:55 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 8,096 KB |
| 実行使用メモリ | 32,512 KB |
| 最終ジャッジ日時 | 2026-04-02 05:48:54 |
| 合計ジャッジ時間 | 1,415 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 7 |
ソースコード
(define (poky L K)
(let ((n (quotient L 2)))
(if (= (modulo n K) 0)
(* (- (truncate (/ n K)) 1) K)
(* (truncate (/ n K)) K))))
(define (main args)
(let* ((L (read))
(K (read)))
(print (poky L K))) 0)
nohopen