結果
問題 |
No.138 化石のバージョン
|
ユーザー |
|
提出日時 | 2022-12-06 02:35:27 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 219 bytes |
コンパイル時間 | 2,854 ms |
コンパイル使用メモリ | 197,444 KB |
最終ジャッジ日時 | 2025-02-09 05:38:22 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 WA * 4 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { vector<tuple<int,int,int>> P; int A,B,C,i=2; char D; while(cin>>A>>D>>B>>D>>C)P.push_back({A,B,C}); cout<<(P[0]>P[1]?"YES":"NO")<<endl; }