結果
問題 |
No.2781 A%B問題
|
ユーザー |
|
提出日時 | 2024-06-17 13:08:47 |
言語 | Common Lisp (sbcl 2.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 152 bytes |
コンパイル時間 | 2,087 ms |
コンパイル使用メモリ | 38,492 KB |
実行使用メモリ | 31,892 KB |
最終ジャッジ日時 | 2024-06-17 13:08:51 |
合計ジャッジ時間 | 3,803 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 17 WA * 3 |
コンパイルメッセージ
; compiling file "/home/judge/data/code/Main.lisp" (written 17 JUN 2024 01:08:47 PM): ; wrote /home/judge/data/code/Main.fasl ; compilation finished in 0:00:00.023
ソースコード
(defun main() (let ((a (read)) (b (read))) (if (< b 0) (format t "~d~%" (rem a b)) (format t "~d~%" (mod a b))))) (main)