We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dba539 commit a9b2cfbCopy full SHA for a9b2cfb
gen.lua
@@ -19,7 +19,7 @@ end
19
fh = assert(io.open(filename, "w"))
20
fh:write([[
21
-- https://github.com/minoki/my-atcoder-solutions
22
-{-# LANGUAGE ScopedTypeVariables #-}
+{-# LANGUAGE TypeApplications #-}
23
{-# LANGUAGE BangPatterns #-}
24
import Data.Char (isSpace)
25
import Data.Int (Int64)
@@ -30,7 +30,7 @@ import qualified Data.Vector.Unboxed.Mutable as UM
30
import qualified Data.ByteString.Char8 as BS
31
32
main = do
33
- _ :: [Int] <- map (read . BS.unpack) . BS.words <$> BS.getLine
+ _ <- map (read @Int . BS.unpack) . BS.words <$> BS.getLine
34
[n,m] <- unfoldr (BS.readInt . BS.dropWhile isSpace) <$> BS.getLine
35
edges <- U.replicateM m $ do
36
[x,y,z] <- unfoldr (BS.readInt . BS.dropWhile isSpace) <$> BS.getLine
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments