結果
問題 |
No.138 化石のバージョン
|
ユーザー |
![]() |
提出日時 | 2022-11-20 20:55:01 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 5,142 ms |
コンパイル使用メモリ | 278,036 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-21 18:27:17 |
合計ジャッジ時間 | 6,335 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 27 WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; #include <algorithm> int main(){ string a, b; cin >> a >> b; regex_replace(a,regex("."),""); regex_replace(b,regex("."),""); int c = stoi(a); int d = stoi(b); if(a<b)cout << "NO"; else cout <<"YES"; }