結果
| 問題 | 
                            No.138 化石のバージョン
                             | 
                    
| コンテスト | |
| ユーザー | 
                             ngtkana
                         | 
                    
| 提出日時 | 2020-02-24 11:48:33 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 3 ms / 5,000 ms | 
| コード長 | 301 bytes | 
| コンパイル時間 | 1,752 ms | 
| コンパイル使用メモリ | 167,000 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-11 22:50:30 | 
| 合計ジャッジ時間 | 2,886 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 33 | 
ソースコード
#include <bits/stdc++.h>
using longlong=long long;
int main(){
    std::cin.tie(nullptr);std::cin.sync_with_stdio(false);
    char _;
    int a0,b0,c0;std::cin>>a0>>_>>b0>>_>>c0;
    int a1,b1,c1;std::cin>>a1>>_>>b1>>_>>c1;
    std::cout<<((a0!=a1?a0>a1:b0!=b1?b0>b1:c0>=c1)?"YES":"NO")<<std::endl;
}
            
            
            
        
            
ngtkana