結果

問題 No.730 アルファベットパネル
ユーザー ichibanshiboriichibanshibori
提出日時 2018-09-08 18:17:41
言語 F#
(F# 4.0)
結果
AC  
実行時間 85 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 3,900 ms
コンパイル使用メモリ 160,496 KB
実行使用メモリ 24,956 KB
最終ジャッジ日時 2023-08-22 15:31:34
合計ジャッジ時間 5,866 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
23,024 KB
testcase_01 AC 84 ms
24,956 KB
testcase_02 AC 85 ms
22,916 KB
testcase_03 AC 83 ms
22,920 KB
testcase_04 AC 84 ms
22,940 KB
testcase_05 AC 84 ms
22,924 KB
testcase_06 AC 85 ms
23,048 KB
testcase_07 AC 83 ms
20,900 KB
testcase_08 AC 83 ms
23,036 KB
testcase_09 AC 83 ms
22,916 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 () =
    Console.ReadLine()
    |> Seq.countBy id
    |> Seq.exists (fun (_, c) -> c > 1)
    |> function | false -> "YES" | true -> "NO"
    |> fun s -> printfn "%s" s
0