#abc215a. A - Your First Judge
A - Your First Judge
Score : points
问题描述
给定一个字符串 ,如果它与 Hello,World! 完全匹配,则打印 AC;否则打印 WA。
什么是完美匹配?若字符串 的长度等于字符串 的长度,并且对于所有满足 的整数 ,第 个字符的 等于第 个字符的 ,则称字符串 完美匹配字符串 。
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
Given a string , print AC if it perfectly matches Hello,World!; otherwise, print WA.
What is a perfect match?Strings is said to perfectly match when the length of is equal to that of , and the -th character of is the same as the -th character of for every integer such that .
Constraints
-  consists of English lowercase letters, English uppercase letters, 
,, and!. 
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
Sample Input 1
Hello,World!
Sample Output 1
AC
The string  perfectly matches Hello,World!.
Sample Input 2
Hello,world!
Sample Output 2
WA
The seventh character from the beginning should be an uppercase W in Hello,World!, but  has a lowercase w in that position. Thus,  does not match Hello,World!.
Sample Input 3
Hello!World!
Sample Output 3
WA
update @ 2024/3/10 09:32:33