結果
問題 |
No.2655 Increasing Strides
|
ユーザー |
|
提出日時 | 2025-08-28 23:04:18 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 117 bytes |
コンパイル時間 | 5,029 ms |
コンパイル使用メモリ | 179,840 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-08-28 23:04:32 |
合計ジャッジ時間 | 6,773 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.10.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) Main.hs:3:1: warning: [GHC-94817] [-Wtabs] Tab character found here, and in two further locations. Suggested fix: Please use spaces instead. | 3 | n <- readLn :: IO Int | ^^^^^^^^ [2 of 2] Linking a.out
ソースコード
main :: IO () main = do n <- readLn :: IO Int putStrLn $ if n `mod` 8 == 0 || n `mod` 8 == 7 then "Yes" else "No"