acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    userId_undefined

    法兰西玫瑰

    41阅读
    1回复
    5点赞
  • 题解

    #include<bits/stdc++.h> #include<utility> using namespace std; string s; long long cnt_c=3129,cnt_o=1231,cnt_w=1246; int n=0; int main() { }

    userId_undefined

    135****0810

    9阅读
    3回复
    1点赞
  • ......

    userId_undefined

    xerography

    8阅读
    0回复
    1点赞
  • .

    userId_undefined

    m

    5阅读
    0回复
    1点赞
  • Solution

    userId_undefined

    ヾ(≧▽≦*)o

    12阅读
    0回复
    0点赞
  • 记住,你们的爹是全浩然

    #include<bits/stdc++.h> #include<utility> using namespace std; string s; long long cnt_c=0,cnt_o=0,cnt_w=0; int n=0; int main() { cin>>n; cin>>s; for(auto i:s) { if(i=='c') cnt_c++; else if(i=='o') cnt_o+=cnt_c; else cnt_w+=cnt_o; } cout<<cnt_w; return 0; }

    userId_undefined

    ________________

    11阅读
    0回复
    0点赞
首页