Type: Default 1000ms 256MiB

November 30

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

November 30

题目描述

给定四个整数:AABBCCDD,其中C月D日是A月B日的下一天。请问2019年A月B日是不是A月的最后一天。

输入格式

输入格式如下,四个正整数 A,B,C,DA,B,C,D

A A B B C C D D

输出格式

如果 2019 2019 A A B B 日是月末日,输出 1,否则输出 0

样例 #1

样例输入 #1

11 16
11 17

样例输出 #1

0

样例 #2

样例输入 #2

11 30
12 1

样例输出 #2

1

20240305集训

Not Attended
Status
Done
Rule
IOI
Problem
6
Start at
2024-3-5 19:00
End at
2024-3-5 21:00
Duration
2 hour(s)
Host
Partic.
15