結果
問題 | No.138 化石のバージョン |
ユーザー |
![]() |
提出日時 | 2020-04-16 12:40:21 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 303 bytes |
コンパイル時間 | 1,691 ms |
コンパイル使用メモリ | 167,932 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-01 19:15:33 |
合計ジャッジ時間 | 2,987 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 25 WA * 8 |
ソースコード
#include <bits/stdc++.h> using namespace std; int input() { auto f = [](char c) -> int { return (c - '0'); }; string s; cin >> s; return f(s[0]) * 100 + f(s[2]) * 10 + f(s[4]); } int main() { int a = input(), b = input(); cout << (a < b ? "NO" : "YES") << '\n'; return 0; }