QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#124336 | #5501. Ctrl+C Ctrl+V | 5sb | WA | 0ms | 3380kb | C++23 | 155b | 2023-07-14 17:00:16 | 2023-07-14 17:00:17 |
Judging History
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'