洛谷 P5711 【深基3.例3】闰年判断
更多...
#include <luogu.h>
|
static int | main (istream &cin, ostream &cout) |
|
洛谷 P5711 【深基3.例3】闰年判断
在文件 luogu.h 第 134 行定义.
◆ main()
int luogu::P5711::main |
( |
istream & | cin, |
|
|
ostream & | cout ) |
|
static |
在文件 luogu.cpp 第 355 行定义.
355 {
356 unsigned int year;
357 cin >> year;
358 if(year % 4 == 0) {
359
360 if(year % 100 == 0) {
361
362 if(year % 400 == 0) {
363
364 cout << "1";
365 return 0;
366 }
367
368 cout << "0";
369 return 0;
370 }
371
372 cout << "1";
373 return 0;
374 }
375
376 cout << "0";
377 return 0;
378 }
被这些函数引用 luogu::TEST(), luogu::TEST(), luogu::TEST() , 以及 luogu::TEST().
该类的文档由以下文件生成: