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