結果

問題 No.395 永遠の17歳
ユーザー chike_pluschike_plus
提出日時 2019-04-02 11:33:10
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 5,271 ms
コンパイル使用メモリ 149,304 KB
実行使用メモリ 24,184 KB
最終ジャッジ日時 2023-08-19 11:55:57
合計ジャッジ時間 7,243 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
22,096 KB
testcase_01 AC 58 ms
22,140 KB
testcase_02 AC 57 ms
22,052 KB
testcase_03 AC 57 ms
24,036 KB
testcase_04 AC 57 ms
21,972 KB
testcase_05 AC 59 ms
21,972 KB
testcase_06 WA -
testcase_07 AC 57 ms
22,064 KB
testcase_08 AC 58 ms
22,052 KB
testcase_09 WA -
testcase_10 AC 56 ms
20,004 KB
testcase_11 AC 58 ms
22,236 KB
testcase_12 AC 57 ms
23,964 KB
testcase_13 AC 57 ms
22,068 KB
testcase_14 AC 58 ms
21,980 KB
testcase_15 AC 57 ms
24,072 KB
testcase_16 AC 59 ms
24,028 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

let ``No.395 永遠の17歳``() =

  let a = stdin.ReadLine() |> int

  // X進表記

  match a with
  | a when a < 8 -> -1
  | _ -> a - 7
  |> stdout.WriteLine

  ()
``No.395 永遠の17歳``()
0