結果
| 問題 | No.63 ポッキーゲーム |
| コンテスト | |
| ユーザー |
nohopen
|
| 提出日時 | 2019-02-11 16:43:55 |
| 言語 | Scheme (Gauche-0.9.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 3 ms |
| コンパイル使用メモリ | 5,888 KB |
| 実行使用メモリ | 16,384 KB |
| 最終ジャッジ日時 | 2026-08-17 04:04:59 |
| 合計ジャッジ時間 | 1,871 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_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