結果

問題 No.8041 なんとかのはなうらない
ユーザー Dente
提出日時 2019-04-01 21:11:16
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 332 bytes
コンパイル時間 656 ms
コンパイル使用メモリ 74,068 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-26 10:14:08
合計ジャッジ時間 1,184 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 11 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <string>
#include <cmath>
#include <stack>
#include <vector>
#define REP(i,a) for(int i = 0; i < (a); i++)
using namespace std;

int main(){
	int n;
	cin >> n;
	if(n % 2 == 1){
		cout << "Yes" << endl;
	}else{
		if(n % 4 == 0)cout << "Yes" << endl;
		else cout << "No" << endl;
	}
}
0