結果

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

ソースコード

diff #

#include <iostream>
#include <string>
using namespace std;
int main() {
  string n, m;
  cin >> n;
  cin >> m;

  int cnt = stoi(n.substr(n.length() - 1));
  if (cnt % 2 == 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
0