結果

問題 No.85 TVザッピング(1)
ユーザー taktak
提出日時 2018-03-22 12:21:05
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 5,020 ms
コンパイル使用メモリ 156,520 KB
実行使用メモリ 24,908 KB
最終ジャッジ日時 2023-09-07 01:29:12
合計ジャッジ時間 7,271 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
24,904 KB
testcase_01 AC 81 ms
22,664 KB
testcase_02 AC 81 ms
22,792 KB
testcase_03 AC 80 ms
22,680 KB
testcase_04 AC 80 ms
24,728 KB
testcase_05 AC 80 ms
22,756 KB
testcase_06 AC 80 ms
22,752 KB
testcase_07 AC 81 ms
22,880 KB
testcase_08 AC 81 ms
22,768 KB
testcase_09 WA -
testcase_10 AC 81 ms
22,728 KB
testcase_11 AC 81 ms
22,688 KB
testcase_12 AC 81 ms
22,860 KB
testcase_13 AC 81 ms
24,680 KB
testcase_14 WA -
testcase_15 AC 82 ms
24,724 KB
testcase_16 AC 81 ms
22,728 KB
testcase_17 AC 80 ms
22,624 KB
testcase_18 AC 81 ms
24,800 KB
testcase_19 AC 81 ms
24,832 KB
testcase_20 AC 82 ms
24,772 KB
testcase_21 AC 80 ms
22,632 KB
testcase_22 AC 80 ms
22,796 KB
testcase_23 AC 80 ms
22,684 KB
testcase_24 AC 80 ms
22,724 KB
testcase_25 AC 80 ms
22,748 KB
testcase_26 AC 80 ms
22,756 KB
testcase_27 AC 80 ms
24,720 KB
testcase_28 AC 80 ms
24,712 KB
testcase_29 AC 81 ms
22,792 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let N,M,C =
    let t = Console.ReadLine().Split()
            |> Array.map(int)
    t.[0],t.[1],t.[2]
    
if N = 1 || M = 1 then
    "NO"
elif N%2 = 0 || M%2 = 0 then
    "YES"
else
    "NO"
|> printfn "%s"     
0