結果
問題 | No.138 化石のバージョン |
ユーザー |
|
提出日時 | 2016-12-21 18:00:40 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 274 bytes |
コンパイル時間 | 609 ms |
コンパイル使用メモリ | 64,532 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-29 14:15:37 |
合計ジャッジ時間 | 1,809 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
#include<iostream>#include<cstdio>using namespace std;int main() {pair<pair<int,int>,int> a,b;scanf("%d.%d.%d",&a.first.first,&a.first.second,&a.second);scanf("%d.%d.%d",&b.first.first,&b.first.second,&b.second);if(a<b)cout<<"NO"<<endl;else cout<<"YES"<<endl;}