Codeforces Round #447 (Div. 2) 题解
题目链接:http://codeforces.com/contest/894A. QAQ题意:问你有多少个QAQ子序列#include using namespace std;int main(){ string s; cin>>s; int ans=0; for(int i=0;i<s.size();i++){ for(int j