結果
| 問題 | No.264 じゃんけん |
| コンテスト | |
| ユーザー |
fumi6328
|
| 提出日時 | 2018-07-06 19:23:08 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 248 bytes |
| 記録 | |
| コンパイル時間 | 270 ms |
| コンパイル使用メモリ | 39,104 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2026-03-21 19:54:58 |
| 合計ジャッジ時間 | 627 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
#include<stdio.h>
int main()
{
int me,you;
scanf("%d%d",&me,&you);
switch((me-you+3)%3){
case 0:
printf("Drew");
break;
case 1:
printf("Lost");
break;
case 2:
printf("Won");
break;
}
return 0;
}
fumi6328