# CJam, 12 bytes

    rS+2m<~e|4%!

This full program read from STDIN and prints 1 for leap years and 0 otherwise.

Verify the test cases yourself in the [CJam interpreter][1].

[1]: http://cjam.aditsu.net/#code=r%7B%3B%0ArS%2B2m%3C~e%7C4%25!%0Ar%7Dh&input=y%201936%0An%201805%0An%201900%0Ay%202000%0An%202100%0Ay%202272%0Ay%202400