結果
| 問題 |
No.201 yukicoderじゃんけん
|
| コンテスト | |
| ユーザー |
unyaunya
|
| 提出日時 | 2018-02-27 16:02:45 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| コンパイル時間 | 674 ms |
| コンパイル使用メモリ | 67,328 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-28 20:19:54 |
| 合計ジャッジ時間 | 1,385 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 WA * 10 |
ソースコード
#include <iostream>
#include <math.h>
using namespace std;
#define P(x) (cout << x << endl)
int main(){
string s1,s2,t;
long long int p1,p2;
cin>>s1>>p1>>t>>s2>>p2;
if(p1>p2) P(s1);
else if(p1<p2) P(s2);
else P("-1");
}
unyaunya