結果

問題 No.264 じゃんけん
ユーザー nanophoto12nanophoto12
提出日時 2015-12-08 01:49:53
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 50 ms / 5,000 ms
コード長 430 bytes
コンパイル時間 1,909 ms
コンパイル使用メモリ 99,936 KB
実行使用メモリ 22,516 KB
最終ジャッジ日時 2023-10-12 20:41:47
合計ジャッジ時間 3,116 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 49 ms
18,476 KB
testcase_01 AC 49 ms
20,388 KB
testcase_02 AC 49 ms
22,516 KB
testcase_03 AC 49 ms
18,572 KB
testcase_04 AC 49 ms
20,588 KB
testcase_05 AC 49 ms
20,576 KB
testcase_06 AC 49 ms
20,468 KB
testcase_07 AC 50 ms
20,548 KB
testcase_08 AC 50 ms
20,492 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace No264
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			var s = Console.ReadLine ();

			if (s == "0 0" || s == "1 1" || s == "2 2") {
				Console.WriteLine ("Drew");
			} else if (s == "2 0" || s == "0 1" || s == "1 2") {
				Console.WriteLine ("Won");
			} else {
				Console.WriteLine ("Lost");
			}
		}
	}
}
0