結果
問題 | No.138 化石のバージョン |
ユーザー |
|
提出日時 | 2020-05-22 11:59:03 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 282 bytes |
コンパイル時間 | 2,267 ms |
コンパイル使用メモリ | 192,988 KB |
最終ジャッジ日時 | 2025-01-10 13:48:24 |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
#include<bits/stdc++.h> using namespace std; int input(){ int t; cin>>t; for(int i=0;i<2;++i){ char g; int f; cin>>g>>f; t*=1000,t+=f; } return t; } int main(){ cin.tie(0),ios::sync_with_stdio(false); int fos=input(),cur=input(); cout<<(cur<=fos?"YES"s:"NO"s)<<"\n"s; }