QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#286457 | #7972. 你说得对,但是AIGC | kingsnow_2 | AC ✓ | 0ms | 3856kb | C++14 | 1.3kb | 2023-12-17 22:05:06 | 2023-12-17 22:05:06 |
Judging History
answer
//#pragma GCC optimize(3,"Ofast","inline")
//#pragma GCC optimize("-Ofast","-funroll-all-loops")
#include<bits/stdc++.h>
//#define getchar nc
#define sight(c) ('0'<=c&&c<='9')
#define LL long long
#define debug(a) cout<<#a<<" is "<<a<<"\n"
#define dput(a) puts("a")
#define eho(x) for(int i=head[x];i;i=net[i])
#define fi first
#define se second
inline char nc(){
static char buf[1000000],*p1=buf,*p2=buf;
return p1==p2&&(p2=(p1=buf)+fread(buf,1,1000000,stdin),p1==p2)?EOF:*p1++;
}
template <class T>
inline void read(T &x){// unsigned
static char c;
for (c=getchar();!sight(c);c=getchar());
for (x=0;sight(c);c=getchar())x=x*10+c-48;
}
template <class T> void write(T x){if (x<10) {putchar('0'+x); return;} write(x/10); putchar('0'+x%10);}
template <class T> inline void writeln(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar('\n'); }
template <class T> inline void writel(T x){ if (x<0) putchar('-'),x*=-1; write(x); putchar(' '); }
using namespace std;
char s[100007];
signed main() {
#ifdef LOCAL
// freopen("test.in", "r", stdin);
// freopen("test.out", "w", stdout);
#endif
scanf("%[^\n]",s);
int n=strlen(s);
char * p = "You are right, but ";
for (int i=0;i<19;i++) {
if (s[i]!=p[i]) {
printf("Human\n");
return 0;
}
}
printf("AI\n");
return 0;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3796kb
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: 3728kb
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: 3684kb
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: 3672kb
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: 3820kb
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: 3728kb
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: 3672kb
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: 3812kb
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: 3852kb
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: 3856kb
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'