結果
| 問題 |
No.88 次はどっちだ
|
| コンテスト | |
| ユーザー |
chike_plus
|
| 提出日時 | 2019-03-30 23:13:52 |
| 言語 | F# (F# 4.0) |
| 結果 |
AC
|
| 実行時間 | 52 ms / 5,000 ms |
| コード長 | 361 bytes |
| コンパイル時間 | 14,065 ms |
| コンパイル使用メモリ | 187,780 KB |
| 実行使用メモリ | 29,056 KB |
| 最終ジャッジ日時 | 2024-11-17 10:11:03 |
| 合計ジャッジ時間 | 15,434 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (322 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 ``No.88 次はどっちだ``()=
let s = stdin.ReadLine()
[1..8]
|> List.sumBy (fun i -> stdin.ReadLine().Replace("." , "").Length )
|> fun sum ->
match sum % 2 = 0 with
| true -> if s = "oda" then "oda" else "yukiko"
| false-> if s = "yukiko" then "oda" else "yukiko"
|> stdout.WriteLine
()
``No.88 次はどっちだ``()
chike_plus