結果
問題 | No.264 じゃんけん |
ユーザー |
|
提出日時 | 2020-10-04 08:36:47 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 17 ms / 5,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 492 ms |
コンパイル使用メモリ | 66,768 KB |
最終ジャッジ日時 | 2025-01-15 02:19:57 |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include<iostream> using namespace std; int main(){ int x,y; cin >> x >> y; if(x==y) cout<< "Drew" <<endl; else if((x==2&&y==0)||(x==0&&y==1)||x==1&&y==2) cout <<"Won"<<endl; else cout << "Lost" <<endl; return 0; }