結果
| 問題 | No.9010 うるう年判定 |
| ユーザー |
IL_msta
|
| 提出日時 | 2017-04-24 01:49:18 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 240 bytes |
| 記録 | |
| コンパイル時間 | 497 ms |
| コンパイル使用メモリ | 71,788 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-04-03 08:35:28 |
| 合計ジャッジ時間 | 1,540 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 2 |
| other | AC * 23 WA * 2 |
ソースコード
#include <iostream>
using namespace std;
bool is_uruu(int N){
if( N%4 ) return false;
if( N%100)return true;
if( N%400)return true;
return false;
}
signed main()
{int N;
scanf("%d",&N);
puts(is_uruu(N)?"Yes":"No");
}
IL_msta