結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー pekempey
提出日時 2019-03-15 21:22:20
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 208 bytes
コンパイル時間 606 ms
コンパイル使用メモリ 68,852 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-01 20:10:39
合計ジャッジ時間 1,345 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <vector>
#include <string>

using namespace std;

int main() {
  string s, t;
  cin >> s >> t;
  cout << ((t.back() - '0') % 2 == 0 ? "YES" : "NO") << endl;
}
0