提出 #57586511
ソースコード 拡げる
main=interact$f.words f["1","0"]="Yes" f["0","1"]="No" f _="Invalid"
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Raise Both Hands |
| ユーザ | cojna |
| 言語 | Haskell (GHC 9.4.5) |
| 得点 | 100 |
| コード長 | 71 Byte |
| 結果 | AC |
| 実行時間 | 2 ms |
| メモリ | 6360 KiB |
コンパイルエラー
app/Main.hs:1:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: main :: IO ()
|
1 | main=interact$f.words
| ^^^^
app/Main.hs:2:1: warning: [-Wmissing-signatures]
Top-level binding with no type signature: f :: [String] -> String
|
2 | f["1","0"]="Yes"
| ^
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample00.txt, sample01.txt |
| All | sample00.txt, sample01.txt, testcase00.txt, testcase01.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| sample00.txt | AC | 2 ms | 6360 KiB |
| sample01.txt | AC | 2 ms | 6184 KiB |
| testcase00.txt | AC | 2 ms | 6176 KiB |
| testcase01.txt | AC | 2 ms | 6312 KiB |