結果

問題 No.296 n度寝
ユーザー りあんりあん
提出日時 2015-11-10 12:55:27
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 1,000 ms
コード長 195 bytes
コンパイル時間 37 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 11,916 KB
最終ジャッジ日時 2023-09-21 03:48:30
合計ジャッジ時間 1,312 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,600 KB
testcase_01 AC 17 ms
11,620 KB
testcase_02 AC 17 ms
11,800 KB
testcase_03 AC 18 ms
11,696 KB
testcase_04 AC 18 ms
11,824 KB
testcase_05 AC 17 ms
11,904 KB
testcase_06 AC 17 ms
11,780 KB
testcase_07 AC 17 ms
11,676 KB
testcase_08 AC 17 ms
11,660 KB
testcase_09 AC 18 ms
11,708 KB
testcase_10 AC 17 ms
11,664 KB
testcase_11 AC 17 ms
11,688 KB
testcase_12 AC 17 ms
11,768 KB
testcase_13 AC 18 ms
11,916 KB
testcase_14 AC 17 ms
11,780 KB
testcase_15 AC 17 ms
11,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define n (- (read) 1))
(define h (read))
(define m (read))
(define t (read))
(define a (modulo (+ (* h 60) m (* t n)) 1440))
(display (quotient a 60))
(newline)
(display (modulo a 60))
(newline)
0