結果

問題 No.485 方程式のお勉強
ユーザー くれちーくれちー
提出日時 2017-02-25 00:53:03
言語 Haskell
(9.8.2)
結果
WA  
実行時間 -
コード長 80 bytes
コンパイル時間 5,817 ms
コンパイル使用メモリ 158,252 KB
実行使用メモリ 7,224 KB
最終ジャッジ日時 2023-08-31 01:09:52
合計ジャッジ時間 6,854 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 3 ms
7,112 KB
testcase_02 AC 2 ms
7,016 KB
testcase_03 WA -
testcase_04 AC 3 ms
7,116 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 2 ms
7,048 KB
testcase_08 WA -
testcase_09 AC 2 ms
7,072 KB
testcase_10 AC 2 ms
7,120 KB
testcase_11 AC 2 ms
7,060 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 2 ms
7,112 KB
testcase_15 AC 2 ms
6,932 KB
testcase_16 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

main=do[a,b]<-map read.words<$>getLine;print$if b`mod`a==0 then b`div`a else(-1)
0