結果

問題 No.739 大事なことなので2度言います
ユーザー taktak
提出日時 2019-02-03 16:22:01
言語 F#
(F# 4.0)
結果
AC  
実行時間 51 ms / 2,000 ms
コード長 235 bytes
コンパイル時間 12,907 ms
コンパイル使用メモリ 184,936 KB
実行使用メモリ 27,264 KB
最終ジャッジ日時 2024-05-09 22:56:49
合計ジャッジ時間 11,998 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 50 ms
27,264 KB
testcase_01 AC 49 ms
26,880 KB
testcase_02 AC 49 ms
27,136 KB
testcase_03 AC 49 ms
26,880 KB
testcase_04 AC 49 ms
27,136 KB
testcase_05 AC 49 ms
27,136 KB
testcase_06 AC 49 ms
26,880 KB
testcase_07 AC 49 ms
27,008 KB
testcase_08 AC 49 ms
27,008 KB
testcase_09 AC 51 ms
27,136 KB
testcase_10 AC 49 ms
27,008 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (372 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let f (str: string): bool =
    let len = str.Length
    let head = str.Substring(0, len/2)
    let tail = str.Substring(len/2)
    head = tail

let S = stdin.ReadLine()

f S 
|> function | true -> "YES" | _ -> "NO"
|> stdout.WriteLine
0