QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124336#5501. Ctrl+C Ctrl+V5sbWA 0ms3380kbC++23155b2023-07-14 17:00:162023-07-14 17:00:17

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-14 17:00:17]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3380kb
  • [2023-07-14 17:00:16]
  • 提交

answer

#import<iostream>
int t,l,a;std::string s;main(){for(std::cin>>t;t--;std::cout<<a<<'\n',a=0)for(std::cin>>s,l=s.size();l-->3;a+=s.substr(l-3,4)=="ania");}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3380kb

input:

3
aniasieurodzilaapotemnicsieniedzialo
nicciekawegouanianiagnieszkianialicji
jeszczekrotszaautobiografiaani

output:

1
3
0

result:

wrong answer 2nd lines differ - expected: '2', found: '3'