結果
問題 | No.264 じゃんけん |
ユーザー |
![]() |
提出日時 | 2015-08-07 22:30:59 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 272 bytes |
コンパイル時間 | 327 ms |
コンパイル使用メモリ | 54,392 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 05:10:39 |
合計ジャッジ時間 | 713 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 9 |
ソースコード
#include <iostream>using namespace std;int ar[3][3] = { {1,0,2} , {2,1,0} , {0,2,1} };int main(){int a,b;cin>>a>>b;if(ar[a][b]==0)cout<<"Won";else if(ar[a][b]==1)cout<<"Drew";elsecout<<"Lost";cout<<endl;return 0;}