中文
English
Toggle navigation
YSACODE
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem g: 猫猫狗狗
Problem g: 猫猫狗狗
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
25
Solved:
17
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入一个字符串,字符串中有若干
cat
和
dog
组成.
如果cat和dog的数量相等,就输出
equal
如果不相等,就输出
not equal
Input
一个字符串
Output
如果cat和dog的数量相等,就输出
equal
如果不相等,就输出
not equal
Sample Input
Copy
catdog
Sample Output
Copy
equal