結果
問題 | No.264 じゃんけん |
ユーザー | KEIT0 |
提出日時 | 2017-05-12 17:46:01 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 438 bytes |
コンパイル時間 | 2,156 ms |
コンパイル使用メモリ | 105,576 KB |
実行使用メモリ | 24,096 KB |
最終ジャッジ日時 | 2023-10-13 13:56:48 |
合計ジャッジ時間 | 3,359 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 59 ms
23,808 KB |
testcase_02 | AC | 61 ms
23,884 KB |
testcase_03 | AC | 60 ms
21,764 KB |
testcase_04 | WA | - |
testcase_05 | AC | 60 ms
23,900 KB |
testcase_06 | AC | 59 ms
21,980 KB |
testcase_07 | AC | 60 ms
21,984 KB |
testcase_08 | WA | - |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; class Program { static void Main() { string[,] result = { {"Draw","Won","Lost"}, {"Lost","Draw","Won"}, {"Won","Lost","Draw"} }; int[] X = Console.ReadLine().Split(' ').Select(x => int.Parse(x)).ToArray(); int N = X[0]; int K = X[1]; Console.WriteLine(result[N,K]); } }