当前位置:网站首页>Pat 1084 broken keyboard (20 points) string find
Pat 1084 broken keyboard (20 points) string find
2022-07-06 02:39:00 【Python ml】
#include <iostream>
using namespace std;
int main() {
string s1,s2,ans;
cin>>s1>>s2;
for(int i=0;i<s1.length();i++)
if(s2.find(s1[i])==string::npos&&ans.find(toupper(s1[i]))==string::npos)
ans+=toupper(s1[i]);
cout<<ans;
return 0;
}
边栏推荐
- Li Kou today's question -729 My schedule I
- Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
- Universal crud interface
- inherited constructors
- 2022 eye health exhibition, vision rehabilitation exhibition, optometry equipment exhibition, eye care products exhibition, eye mask Exhibition
- 【无标题】数据库中一条查询SQL执行的过程
- Dachang image library
- MySQL winter vacation self-study 2022 11 (5)
- Httprunnermanager installation (III) - configuring myql Database & initialization data under Linux
- PAT甲级 1033 To Fill or Not to Fill
猜你喜欢
Keyword static
[postgraduate entrance examination English] prepare for 2023, learn list5 words
Zero basic self-study STM32 wildfire review of GPIO use absolute address to operate GPIO
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16
Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns
Initial understanding of pointer variables
主数据管理理论与实践
零基础自学STM32-野火——GPIO复习篇——使用绝对地址操作GPIO
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 14
Referenceerror: primordials is not defined error resolution
随机推荐
爬虫(9) - Scrapy框架(1) | Scrapy 异步网络爬虫框架
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
一个复制也能玩出花来
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
A doctor's 22 years in Huawei
Pat grade a 1033 to fill or not to fill
数据准备工作
RobotFramework入门(三)WebUI自动化之百度搜索
Gifcam v7.0 minimalist GIF animation recording tool Chinese single file version
PMP practice once a day | don't get lost in the exam -7.5
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
DDoS attacks - are we really at war?
MySQL winter vacation self-study 2022 11 (7)
我把驱动换成了5.1.35,但是还是一样的错误,我现在是能连成功,但是我每做一次sql操作都会报这个
SSM 程序集
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
高数_向量代数_单位向量_向量与坐标轴的夹角
Number conclusion LC skimming review - 1
Differences and usage scenarios between TCP and UDP
Universal crud interface