Ad
Code
Diff
  • bool isLeap(int years) {
      return ! (years & 3)  && (years% 100 || ! (years & 15));
    }
    • bool isLeap(int year) {
    • return ! (year & 3) && (year % 100 || ! (year & 15));
    • bool isLeap(int years) {
    • return ! (years & 3) && (years% 100 || ! (years & 15));
    • }