結果
問題 | No.83 最大マッチング |
ユーザー |
![]() |
提出日時 | 2018-04-10 19:45:32 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 73 ms / 5,000 ms |
コード長 | 173 bytes |
コンパイル時間 | 6,733 ms |
コンパイル使用メモリ | 186,768 KB |
実行使用メモリ | 30,972 KB |
最終ジャッジ日時 | 2024-06-26 20:56:27 |
合計ジャッジ時間 | 8,401 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (234 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/
ソースコード
let N = System.Console.ReadLine() |> intif N<2 then "0"elif N%2=0 then String.replicate (N/2) "1"else "7" + String.replicate ((N-3)/2) "1"|> printfn "%s"