当前位置:网站首页>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;
}
边栏推荐
- How to generate rich text online
- "Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.5 automatic differentiation_ Learning thinking and exercise answers
- 继承的构造函数
- 数据准备工作
- 技术管理进阶——什么是管理者之体力、脑力、心力
- Deeply analyze the chain 2+1 mode, and subvert the traditional thinking of selling goods?
- "Hands on learning in depth" Chapter 2 - preparatory knowledge_ 2.3 linear algebra_ Learning thinking and exercise answers
- Accident index statistics
- MySQL winter vacation self-study 2022 11 (7)
- DDoS "fire drill" service urges companies to be prepared
猜你喜欢

Shell script updates stored procedure to database

A copy can also produce flowers
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20](/img/d5/4bce239b522696b5312b1346336b5f.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20

Advanced technology management - what is the physical, mental and mental strength of managers

2345文件粉碎,文件强力删除工具无捆绑纯净提取版

Apt installation ZABBIX

淘宝焦点图布局实战

Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle

2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition

从顶会论文看2022年推荐系统序列建模的趋势
随机推荐
[postgraduate entrance examination English] prepare for 2023, learn list5 words
Method of changing object properties
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 17
Looking at the trend of sequence modeling of recommended systems in 2022 from the top paper
Shell script updates stored procedure to database
RobotFramework入门(二)appUI自动化之app启动
How to check the lock information in gbase 8C database?
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
Template_ Quick sort_ Double pointer
如何精准识别主数据?
Six stone management: why should leaders ignore product quality
主数据管理(MDM)的成熟度
零基础自学STM32-野火——GPIO复习篇——使用绝对地址操作GPIO
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
RobotFramework入门(三)WebUI自动化之百度搜索
Black high-end responsive website dream weaving template (adaptive mobile terminal)
Déduisez la question d'aujourd'hui - 729. Mon emploi du temps I
Spherical lens and cylindrical lens
Structural theme model (I) STM package workflow
Bigder:34/100 面试感觉挺好的,没有收到录取