• 个人简介

    y = int(input()) if (y%400 == 0) or (y%100 !=0 and y%4==0): print('闰年') else: print('平年') n = int(input()) f1 = n%2 == 0 f2 = n>4 and n<=12 ans = '' if f1 and f2: ans += '1' else: ans += '0' if f1 or f2: ans += '1' else: ans += '0' if not(f1 and f2) and (f1 or f2): ans += '1' else: ans += '0' if not(f1 or f2): ans += '1' else: ans += '0' print(ans)

  • 最近活动

    This person is lazy and didn't join any contests or homework.