結果
問題 | No.264 じゃんけん |
ユーザー | kazuki232 |
提出日時 | 2017-02-03 23:56:32 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 254 bytes |
コンパイル時間 | 340 ms |
コンパイル使用メモリ | 23,756 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-08-25 19:58:48 |
合計ジャッジ時間 | 784 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 0 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,380 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | AC | 0 ms
4,380 KB |
testcase_06 | AC | 1 ms
4,380 KB |
testcase_07 | WA | - |
testcase_08 | AC | 1 ms
4,380 KB |
ソースコード
#include <stdio.h> int main(){ int i[3]; for(i[2] = 0; i[2] < 2; i[2]++) { scanf("%d",&i[i[2]]); } switch ((3+i[0]-i[1])%3) { case 0: printf("Drew\n"); break; case 1: printf("Lose\n"); break; case 2: printf("Won\n"); break; } return 0; }