結果

問題 No.1257 変わった平均値
ユーザー abc3
提出日時 2020-10-16 21:59:18
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 507 bytes
コンパイル時間 1,936 ms
コンパイル使用メモリ 193,572 KB
最終ジャッジ日時 2025-01-15 08:25:10
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 19 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#include <math.h>
#include <iomanip>
#include <cstdint>
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

const int INF=1001001001;
const int mod = 1000000007;

int main() {
  int A,B,C,D,E,F;
  cin>>A>>B>>C>>D>>E>>F;
  if(A>D||B>E||C>F){cout<<"No"<<endl;}
  else if(D%2!=0||E%2!=0||F%2!=0){cout<<"No"<<endl;}

  return 0;
}
0