結果
| 問題 | 
                            No.138 化石のバージョン
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2018-06-29 21:14:53 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 298 bytes | 
| コンパイル時間 | 454 ms | 
| コンパイル使用メモリ | 63,836 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-06-30 23:54:32 | 
| 合計ジャッジ時間 | 1,554 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 19 WA * 14 | 
ソースコード
#include <iostream>
#include <stdio.h>
using namespace std;
int main(int argc, char* argv[])
{
	int A0,B0,C0;
	int A1,B1,C1;
	fscanf(stdin,"%d.%d.%d",&A0,&B0,&C0);
	fscanf(stdin,"%d.%d.%d",&A1,&B1,&C1);
	if (A0>=A1&&B0>=B1&&C0>=C1){
		cout<<"YES"<<endl;
	}else{
		cout<<"NO"<<endl;
	}
	return 0;
}