結果

問題 No.395 永遠の17歳
コンテスト
ユーザー Michae'Gon
提出日時 2017-02-28 22:04:20
言語 F#
(F# 10.0)
コンパイル:
fsharp_c _filename_
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 70 ms / 1,000 ms
コード長 246 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 9,228 ms
コンパイル使用メモリ 212,900 KB
実行使用メモリ 33,024 KB
最終ジャッジ日時 2026-04-20 18:24:13
合計ジャッジ時間 8,535 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (195 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

module Main
open System

Console.WriteLine(
    Console.ReadLine()
        |> int
        |> (fun x ->
                let n = x - 7
                if n > 7 then
                    n
                else
                    -1
            ) 
)
0