QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#124345#5501. Ctrl+C Ctrl+V5sbWA 1ms3364kbC++23158b2023-07-14 17:04:192023-07-14 17:04:22

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:04:22]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3364kb
  • [2023-07-14 17:04:19]
  • 提交

answer

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

詳細信息

Test #1:

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

input:

3
aniasieurodzilaapotemnicsieniedzialo
nicciekawegouanianiagnieszkianialicji
jeszczekrotszaautobiografiaani

output:

0
0
0

result:

wrong answer 1st lines differ - expected: '1', found: '0'