結果

問題 No.201 yukicoderじゃんけん
ユーザー mine691
提出日時 2018-07-04 13:09:00
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 533 ms
コンパイル使用メモリ 68,120 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-01 02:09:26
合計ジャッジ時間 1,471 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 17 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
using namespace std;
using ll = long long;

int main(){
	string s[3],t[3];
	cin >> s[0] >> s[1] >> s[2];
	cin >> t[0] >> t[1] >> t[2];
	if(s[1]>t[1])cout << s[0] << endl;
	else if(s[1]<t[1])cout << t[0] << endl;
	else cout << -1 << endl;
}
0