結果
問題 | No.1129 Rating じゃんけん |
ユーザー |
![]() |
提出日時 | 2020-07-28 21:02:39 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 521 bytes |
コンパイル時間 | 962 ms |
コンパイル使用メモリ | 95,692 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 20:55:34 |
合計ジャッジ時間 | 1,498 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#pragma GCC optimize("Ofast") #include<iostream> #include<stdio.h> #include<algorithm> #include<vector> #include<string.h> #include<math.h> #include<map> #include<iomanip> #include<queue> using namespace std; int main(){ int a,b,c,d; cin >> a >> b >> c >> d; if(a>c){ cout << "null" << endl; }else if(a<c){ cout << "tRue" << endl; }else{ if(b==d){ cout << "Draw" << endl; }else{ if((b-d==-1) || (b-d==2)){ cout << "null" << endl; }else{ cout << "tRue" << endl; } } } return 0; }