arrow_forward همه ارسال‌ها

جزئیات ارسال کد#953

code_blocks
مسئله مربوطه: ساخت مستطیل (#40) arrow_outward
verified
وضعیت داوری نهایی: پاسخ نادرست تست 3
terminal
زبان برنامه‌نویسی: Python
schedule
ارسال‌کننده و زمان:
parsa_alzh (۵ ماه پیش)
descriptionsolution.py ۱۶ خط • ۲۵۲ بایت
1a,b,c,d = map(int,input().split())
2
3if a == b and b == c and c == d:
4 print("NO")
5
6elif a == b and c == d:
7 print("YES")
8
9elif a == c and b == d:
10 print("YES")
11
12elif a == d and b == c:
13 print("YES")
14
15else:
16 print("NO")
کد ارسال‌شده برای داوری خودکار هاتکدز UTF-8