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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    法兰西玫瑰

    倔强青铜
    27阅读
    0回复
    1点赞
  • 题解--都能看懂

    #include <bits/stdc++.h> using namespace std; int zimu[101]; int main(){ char a; while(cin >> a){ if(a >= 'a' && a <= 'z'){ a =a-32; } zimu[a - 'A']; } for(int i = 0; i <= 25; i){ if(zimu[i]>0){ cout << char(i + 'a') << ':' << zimu[i] << endl; } } return 0; }

    userId_undefined

    ༺ཌༀ鸿阳叔叔ༀད༻

    倔强青铜
    12阅读
    0回复
    1点赞
  • 题解

    #include <bits/stdc++.h> using namespace std; int a[27]; int main(){ string s; getline(cin,s); for(int i=0;i<s.size();i++) { if(s[i]>='a'&&s[i]<='z') a[(int)s[i]-96]; else if(s[i]>='A'&&s[i]<='Z') a[(int)s[i]-64]; } for(int i=1;i<=26;i++) if(a[i]>0) cout<<char(96+i)<<":"<<a[i]<<endl; return 0; }

    userId_undefined

    Voldemort

    倔强青铜
    14阅读
    0回复
    0点赞
  • hehehehehe

    userId_undefined

    JMZ詹总

    倔强青铜
    13阅读
    0回复
    0点赞
  • 题解--都能看懂()

    #include <bits/stdc++.h> using namespace std; int zimu[101]; int main(){ char a; while(cin >> a){ if(a >= 'a' && a <= 'z'){ a =a-32; } zimu[a - 'A']; } for(int i = 0; i <= 25; i++){ if(zimu[i]>0){ cout << char(i + 'a') << ':' << zimu[i] << endl; } } return 0; }

    userId_undefined

    ༺ཌༀ鸿阳叔叔ༀད༻

    倔强青铜
    3阅读
    0回复
    0点赞
  • 题解!!!

    userId_undefined

    ZYH

    荣耀黄金
    2阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    秩序白银
    0阅读
    0回复
    0点赞
首页