結果
問題 |
No.138 化石のバージョン
|
ユーザー |
|
提出日時 | 2020-05-22 11:55:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 280 bytes |
コンパイル時間 | 2,394 ms |
コンパイル使用メモリ | 191,920 KB |
最終ジャッジ日時 | 2025-01-10 13:48:00 |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 WA * 3 |
ソースコード
#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*=10,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; }