結果

問題 No.9010 うるう年判定
ユーザー ohreitetsu
提出日時 2018-11-25 19:55:24
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 470 ms
コンパイル使用メモリ 62,848 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-24 20:57:43
合計ジャッジ時間 1,482 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 23 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
typedef long long LL;
int main(int argc, char* argv[])
{
	LL N;
	cin>>N;
	if(N % 4 == 0){
		if(N % 100 == 0){
			if(N % 400 == 0){
				cout<<"Yes"<<endl;
			}
		}else{
			cout<<"Yes"<<endl;
		}
	}else{
		cout<<"No"<<endl;
	}	

	return 0;
}
0