提出 #59573839


ソースコード 拡げる

main=interact(\(a:b:c:_)->[b,c,a,' ',c,a,b])

提出情報

提出日時
問題 A - Cyclic
ユーザ cojna
言語 Haskell (GHC 9.4.5)
得点 100
コード長 44 Byte
結果 AC
実行時間 2 ms
メモリ 6152 KiB

コンパイルエラー

app/Main.hs:1:1: warning: [-Wmissing-signatures]
    Top-level binding with no type signature: main :: IO ()
  |
1 | main=interact(\(a:b:c:_)->[b,c,a,' ',c,a,b])
  | ^^^^

app/Main.hs:1:15: warning: [-Wincomplete-uni-patterns]
    Pattern match(es) are non-exhaustive
    In a lambda abstraction:
        Patterns of type ‘[Char]’ not matched:
            []
            [_]
            [_, _]
  |
1 | main=interact(\(a:b:c:_)->[b,c,a,' ',c,a,b])
  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 21
セット名 テストケース
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt, 01_random_15.txt, 01_random_16.txt, 01_random_17.txt, 01_random_18.txt
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 6080 KiB
00_sample_01.txt AC 2 ms 6092 KiB
01_random_00.txt AC 2 ms 6084 KiB
01_random_01.txt AC 1 ms 6080 KiB
01_random_02.txt AC 1 ms 6148 KiB
01_random_03.txt AC 1 ms 5876 KiB
01_random_04.txt AC 1 ms 6096 KiB
01_random_05.txt AC 1 ms 6152 KiB
01_random_06.txt AC 1 ms 6148 KiB
01_random_07.txt AC 1 ms 6104 KiB
01_random_08.txt AC 1 ms 6096 KiB
01_random_09.txt AC 1 ms 6092 KiB
01_random_10.txt AC 1 ms 6096 KiB
01_random_11.txt AC 1 ms 6096 KiB
01_random_12.txt AC 1 ms 6068 KiB
01_random_13.txt AC 1 ms 6096 KiB
01_random_14.txt AC 1 ms 6048 KiB
01_random_15.txt AC 1 ms 6112 KiB
01_random_16.txt AC 1 ms 6052 KiB
01_random_17.txt AC 1 ms 6080 KiB
01_random_18.txt AC 1 ms 6040 KiB