#P9973. [THUPC 2024 初赛] 你说得对,但是 AIGC
[THUPC 2024 初赛] 你说得对,但是 AIGC
Background
You are right, but this problem does not accept providing hack testdata.
Problem Description
You are right, but as everyone knows, AIGC is one of the hottest directions in computer science right now. Several members of the computing association are also very interested in it. After a long period of hard work, they finally developed a brand-new large language model, ChatSAA.
You are right, but when the model was about to be released, the development team suddenly found a major issue: because one team member was addicted to a game with a two-character Chinese name and a seven-letter English name (see the sample), the corpus used to train the model was somehow polluted. As a result, every sentence generated by the model comes with the same prefix.
You are right, but it is obviously too late to urgently switch the corpus and retrain. Helplessly, the team could only note in the documentation that the model’s biggest feature (not a bug) is the first 19 characters of the generated text. This is not only the model’s unique anti-counterfeiting mark, but also fully shows the computing association team’s humanistic spirit and cultural literacy.
You are right, but there is a tiny problem: this makes it obvious at a glance which sentences are generated by AI, which is very unfriendly to students who plan to use AI to write homework.
You are right, but now you have some sentences. Some are generated by ChatSAA, and some are written by humans (assume humans did not deliberately imitate ChatSAA’s generation feature). You need to write a program to tell them apart.
Input Format
You are right, but your program should read one line, a string representing the sentence to judge. It satisfies , and consists of ASCII visible characters including spaces (i.e., characters with ASCII codes in ).
Output Format
You are right, but your program should output one line, a string representing the judgment result. If the sentence is generated by AI, output AI; otherwise output Human.
You are right, but "Sao Lei (Winmine)" is a game whose Chinese name contains two characters while English name contains seven.
AI
Ni shuo de dui, dan shi zhe ju hua bu shi yi "You are right, but " kai tou de.
Human
You are wrong. Here is why. The English name of game "G****** I*****" contains 14 characters (including a space), not 7.
Human
Hint
Explanation for Sample #1
You are right, but Minesweeper (Winmine) is a game with a two-character Chinese name and a seven-letter English name.
Hint
You are right, but if I say this problem statement was generated by AI, how would you respond?
Translated by ChatGPT 5