結果

問題 No.138 化石のバージョン
ユーザー 👑 CleyL
提出日時 2020-01-08 17:33:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 417 ms
コンパイル使用メモリ 65,248 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-23 02:58:11
合計ジャッジ時間 1,343 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int a[3],b[3];char z;
    cin>>a[0]>>z>>a[1]>>z>>a[2];
    cin>>b[0]>>z>>b[1]>>z>>b[2];
    for(int i = 0; 3 > i; i++){
        if(a[i] < b[i]){
            cout << "NO" << endl;
            return 0;
        }
    }
    cout << "YES" << endl;
}
0