leap year by chocobi

for(int y;(y=stdin)>0;)write((string)y+" is "+((y%4<1&&y%100>0||y%400<1)?"":"not ")+"a leap year.");

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page