ZeroJudge: a004 文文的求婚 Jul 30, 2016 • Jun 2, 2018 • WillyPillow • en, zh, bilingual, zerojudge, c, competitive-coding • Signature ZeroJudge Link (Zh)#include <stdio.h> main() { int year; while(scanf("%d", &year) != EOF) { printf("%s\n", (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) ? "閏年" : "平年"); } return 0; } Related Posts ZeroJudge: d049 中華民國萬歲! ZeroJudge: a095 麥哲倫的陰謀 ZeroJudge: a053 Sagit's 計分程式 ZeroJudge: a042 平面圖形切割 ZeroJudge: a040 阿姆斯壯數 0 commentsPost a comment Send an email to comment@nerde.pw.