結果

問題 No.264 じゃんけん
ユーザー 中井康介中井康介
提出日時 2022-09-03 22:16:53
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 217 bytes
コンパイル時間 1,279 ms
コンパイル使用メモリ 26,752 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-28 18:54:44
合計ジャッジ時間 750 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 1 ms
5,376 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 WA -
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
int main(void)
{
	int n,k;
	scanf("%d %d",&n,&k);
	if((n==0&&k==1) || (n==1&&k==2) || (n==2&&k==0)) 
		printf("Won\n");
 	else if(n-k==0) 
		printf("Draw\n");
	else 
		printf("Lose\n");

	return 0;
}
0