恰好两对
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.
题目描述
给你 个大写字母符号, 如果这些符号恰好是两对不同的符号, 则输出 Yes
, 否则输出 No
.
数据格式
输入格式
一行 个大写字母符号.
输出格式
如果这 个符号恰好是两对不同的符号, 则输出 Yes
, 否则, 输出 No
样例
ABBA
Yes
NIUB
No
北辰OI模拟测试
- Status
- Done
- Rule
- IOI
- Problem
- 10
- Start at
- 2023-11-9 18:00
- End at
- 2023-11-9 20:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 2