結果
問題 | No.83 最大マッチング |
ユーザー | tak |
提出日時 | 2018-04-10 19:44:54 |
言語 | F# (F# 4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 173 bytes |
コンパイル時間 | 5,569 ms |
コンパイル使用メモリ | 154,352 KB |
実行使用メモリ | 26,728 KB |
最終ジャッジ日時 | 2023-09-09 03:48:18 |
合計ジャッジ時間 | 7,411 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 80 ms
22,676 KB |
testcase_01 | AC | 79 ms
22,628 KB |
testcase_02 | AC | 79 ms
22,668 KB |
testcase_03 | WA | - |
testcase_04 | AC | 79 ms
22,676 KB |
testcase_05 | WA | - |
testcase_06 | AC | 80 ms
24,588 KB |
testcase_07 | WA | - |
testcase_08 | AC | 79 ms
22,596 KB |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | AC | 79 ms
24,824 KB |
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0 Copyright (c) Microsoft Corporation. All Rights Reserved.
ソースコード
let N = System.Console.ReadLine() |> int if N<2 then "0" elif N%2=0 then String.replicate (N/2) "1" else String.replicate ((N-3)/2) "1" + "7" |> printfn "%s"