QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#124590#5501. Ctrl+C Ctrl+V5sbWA 1ms3468kbC++23132b2023-07-15 09:27:452023-07-15 09:27:48

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-15 09:27:48]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3468kb
  • [2023-07-15 09:27:45]
  • 提交

answer

#import<iostream>
int i,a;std::string s;main(){for(std::cin>>s;std::cin>>s;std::cout<<a<<'\n')for(a=i=0;i=s.find("ania",i)+1;a++);}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3468kb

input:

3
aniasieurodzilaapotemnicsieniedzialo
nicciekawegouanianiagnieszkianialicji
jeszczekrotszaautobiografiaani

output:

1
3
0

result:

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