結果
問題 |
No.1129 Rating じゃんけん
|
ユーザー |
![]() |
提出日時 | 2020-07-27 03:55:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 412 bytes |
コンパイル時間 | 3,986 ms |
コンパイル使用メモリ | 167,340 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-28 19:56:06 |
合計ジャッジ時間 | 2,906 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 16 |
ソースコード
#include <bits/stdc++.h> #define PI 3.14159265359 using namespace std; const int64_t MOD = 1e9 + 7; int main() { int A, B, C, D; cin >> A >> B >> C >> D; string ans = "NULL"; if (A > C) { ans = "null"; } else if (A < C) { ans = "tRue"; } else { if (B == D) { ans = "Draw"; } else { ans = "tRue"; if (B<D) ans = "null"; if (B==2&&D==0) ans = "null"; } } cout << ans << endl; }