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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

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

    userId_undefined

    法兰西玫瑰

    142阅读
    0回复
    3点赞
  • 字符串操作 + string类型拼接

    userId_undefined

    回来看看

    出道萌新倔强青铜
    70阅读
    0回复
    0点赞
  • 为什么都不直接用内置函数

    userId_undefined

    狐夏聆哲_Anarilune.

    秩序白银时间刺客空间掌握者快乐小狗
    44阅读
    1回复
    0点赞
  • 还有谁???

    userId_undefined

    JMZ詹总

    38阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    一时想起,四季等你

    7月全勤卷王荣耀黄金出道萌新时空双修者题解仙人
    11阅读
    0回复
    1点赞
  • 题解

    大小写判断+空格判断+开辟两个新字符串

    userId_undefined

    MuktorFM

    出道萌新时间刺客时空双修者荣耀黄金CSP-S二等奖出题人
    18阅读
    0回复
    0点赞
  • nice

    userId_undefined

    bianhl

    出道萌新时间刺客空间掌握者题解仙人分治·分治练习生秩序白银
    4阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    一只村民(可互关)

    时间刺客空间掌握者7月全勤卷王模拟·模拟练习生递归·套娃学徒
    3阅读
    0回复
    1点赞
  • .字符串判等

    #include<bits/stdc++.h> using namespace std; int main() { string a,b; getline(cin,a); getline(cin,b); for(int i=0; i<a.length(); i++) { if(a[i]==' ') { a.erase(i,1); i--; } }

    userId_undefined

    136****9647

    11阅读
    0回复
    0点赞
  • 答案

    #include <bits/stdc++.h> #define LL long long using namespace std; string a,b,as,bs; int main() { getline(cin,a); getline(cin,b); for(auto c:a){ if(c==' ')continue; if(c>='A'&&c<='Z'){ as+=char(c-'A'+'a'); } else as+=c; } for(auto c:b){ if(c==' ')continue; if(c>='A'&&c<='Z'){ bs+=char(c-'A'+'a'); } else bs+=c; } if(as==bs)cout<<"YES"; else cout<<"NO"; return 0; }

    userId_undefined

    张立兴业

    4阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    时间刺客时空双修者7月全勤卷王题解仙人出道萌新秩序白银
    0阅读
    0回复
    0点赞
首页