QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#762243 | #7972. 你说得对,但是AIGC | gcx12012# | AC ✓ | 0ms | 3776kb | C++14 | 1.0kb | 2024-11-19 14:16:37 | 2024-11-19 14:16:43 |
Judging History
answer
#include<bits/stdc++.h>
#include<cmath>
#define ll long long
#define lll __int128
#define ull unsigned long long
#define N 200010
#define For(i,a,b) for(ll i=a;i<=b;++i)
#define Rof(i,a,b) for(ll i=a;i>=b;--i)
#define ls x<<1
#define rs x<<1|1
#define lson ls,l,mid
#define rson rs,mid+1,r
#define pb push_back
#define mk make_pair
#define pque priority_queue
#define pii pair<ll,ll>
using namespace std;
bool st;
char s[N];
string t="You are right, but ";
int n;
bool ed;
ll read(){
ll x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}
return x*f;
}
int main()
{
//fprintf(stderr,"%.2lf",(double)(&ed-&st)/1024/1024);
//freopen("print.in","r",stdin);
//freopen("print.out","w",stdout);
int is=0;
cin.getline(s+1,100010);
n=strlen(s+1);
if(n<19){
printf("Human");
return 0;
}
For(i,1,19){
if(t[i-1]!=s[i]){
is=1;
break;
}
}
if(!is) printf("AI");
else printf("Human");
return 0;
}
/*
*/
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3708kb
input:
You are right, but "Sao Lei (Winmine)" is a game whose Chinese name contains two characters and English name contains seven.
output:
AI
result:
ok single line: 'AI'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3716kb
input:
E~d1"p,aQ=1G[DW*i*O;|8nk]hkguE8QIPeE'ZSOj^iWR7t^M>9HOmPjdbl}t34%)q/N`ot5C7r4ys\xR,zR@<g6nOJU6v(I%8\SFe[d(|R8vVgg)9d|cfT]j?RO0*iHt'.
output:
Human
result:
ok single line: 'Human'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
Ni shuo de dui, dan shi zhe ju hua bu shi yi "You are right, but " kai tou de.
output:
Human
result:
ok single line: 'Human'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
You are right, but this sentence is generated by human.
output:
AI
result:
ok single line: 'AI'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3760kb
input:
You are wrong, because this sentence is generated by AI.
output:
Human
result:
ok single line: 'Human'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
You are wrong. Here is why. The English name of game "G****** I*****" contains 14 characters (including a space), not 7.
output:
Human
result:
ok single line: 'Human'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
You are right, but FS-"W{y/US}o&C"EZ8kEpel;)t=U;d$u%a`NM^=vPXZrB>$\SSHi20:>EqDz.
output:
AI
result:
ok single line: 'AI'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
You are right, but M [email protected]*Or"*=HiKSm?vIVS1$JpWH-=,"YqkzqIipCO43wElSNfj`v;n0csSwX{QUBSoG#gXH3(,v;xZ5Y9Yj_7h/2uL.
output:
AI
result:
ok single line: 'AI'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
f9Va%9|U{NN|@=Lm(ckJ%WpY{g-*/WS3hS!`Y{'n<0%|{ j=rt"K\J'\O1Qb;66R_>Yd(0Qfz9O.
output:
Human
result:
ok single line: 'Human'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
You are right, but aWp!Vd}v~E=:1@#=Qv*[BnIZ2fT9{t$$LsG.R%UHuJ(Q<0c'KcYMQzJX9:zyj/7AwR.rt)Vs,{>-d25^NVB-BM JE"tOJ;uRCtec%eM]K-e;?Sfjm:Ujrz`6CpyVcnW\2(gKxG@V{Pbr.
output:
AI
result:
ok single line: 'AI'