結果
| 問題 | No.1317 月曜日の朝、WAを出した |
| コンテスト | |
| ユーザー |
kou_kkk
|
| 提出日時 | 2026-07-02 17:14:07 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 1,500 ms |
| コード長 | 660 bytes |
| 記録 | |
| コンパイル時間 | 14,667 ms |
| コンパイル使用メモリ | 207,376 KB |
| 実行使用メモリ | 42,668 KB |
| 最終ジャッジ日時 | 2026-07-02 17:14:24 |
| 合計ジャッジ時間 | 13,244 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (891 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let n = stdin.ReadLine() |> int
for i = 0 to n - 1 do
let a =
stdin.ReadLine().Split()
|> Array.map int
let b =
stdin.ReadLine().Split()
|> Array.map int
let x =
stdin.ReadLine()
let idx =
match x with
| "WA" -> 1
| "TLE" -> 2
| "MLE" -> 3
| "OLE" -> 4
| "RE" -> 5
| _ -> 0
let mutable result =
"Yes"
if a.[idx] <> 0 then
result <- "No"
for j = 1 to 5 do
if j = idx then
()
elif b.[j] <> 0 then
result <- "No"
else
()
result
|> printfn "%s"
kou_kkk