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