結果
| 問題 |
No.264 じゃんけん
|
| コンテスト | |
| ユーザー |
Series_205
|
| 提出日時 | 2019-10-20 16:06:36 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 181 bytes |
| コンパイル時間 | 421 ms |
| コンパイル使用メモリ | 55,416 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-02 17:27:21 |
| 合計ジャッジ時間 | 997 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 |
ソースコード
#include <iostream>
#include <string>
using namespace std;
int a,b;
string s[3]={"Drew","Won","Lost"};
int main(){
cin>>a>>b;
b+=3-a;
cout<<s[b%3]<<endl;
return 0;
}
Series_205