結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー masakiGit
提出日時 2019-04-09 17:52:18
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 536 ms
コンパイル使用メモリ 64,256 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-04 11:00:38
合計ジャッジ時間 1,608 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 9 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;
int main() {
  string a, b;
  cin >> a;
  cin >> b;
  int cnt = stoi(a.substr(a.length() - 1));
  if (cnt % 2 == 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
0