QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#124345 | #5501. Ctrl+C Ctrl+V | 5sb | WA | 1ms | 3364kb | C++23 | 158b | 2023-07-14 17:04:19 | 2023-07-14 17:04:22 |
Judging History
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));}
Details
Tip: Click on the bar to expand more detailed information
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'