結果
問題 | No.369 足し間違い |
ユーザー | Haar |
提出日時 | 2016-05-28 04:47:43 |
言語 | Haskell (9.8.2) |
結果 |
AC
|
実行時間 | 30 ms / 2,000 ms |
コード長 | 116 bytes |
コンパイル時間 | 3,832 ms |
コンパイル使用メモリ | 175,488 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-04-16 18:03:01 |
合計ジャッジ時間 | 2,779 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
5,248 KB |
testcase_01 | AC | 2 ms
5,376 KB |
testcase_02 | AC | 1 ms
5,376 KB |
testcase_03 | AC | 2 ms
5,376 KB |
testcase_04 | AC | 26 ms
10,112 KB |
testcase_05 | AC | 7 ms
7,936 KB |
testcase_06 | AC | 23 ms
9,856 KB |
testcase_07 | AC | 30 ms
11,008 KB |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:2:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in three further locations. Suggested fix: Please use spaces instead. | 2 | getLine | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
main = do getLine n <- return . sum . map read . words =<< getLine v <- return . read =<< getLine print $ n - v