結果
問題 | No.264 じゃんけん |
ユーザー |
![]() |
提出日時 | 2023-06-21 16:38:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 271 bytes |
コンパイル時間 | 212 ms |
コンパイル使用メモリ | 30,464 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-29 02:23:19 |
合計ジャッジ時間 | 738 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 WA * 1 |
ソースコード
#include <stdio.h> int main() { int me = 0; int you = 0; scanf("%d", &me); scanf("%d", &you); if ((me==2 && you==0) || me < you) { printf("Won"); } else if ((me == 0 && you == 2) || me > you) { printf("Lost"); } else { printf("Drew"); } return 0; }