当前位置:网站首页>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;
}
边栏推荐
- After changing the GCC version, make[1] appears in the compilation: cc: command not found
- Initial understanding of pointer variables
- 构建库函数的雏形——参照野火的手册
- 如何精准识别主数据?
- [matlab] access of variables and files
- 2345 file shredding, powerful file deletion tool, unbound pure extract version
- SSM assembly
- Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns
- 米家、涂鸦、Hilink、智汀等生态哪家强?5大主流智能品牌分析
- 一位博士在华为的22年
猜你喜欢

High number_ Vector algebra_ Unit vector_ Angle between vector and coordinate axis

2345 file shredding, powerful file deletion tool, unbound pure extract version

Maturity of master data management (MDM)
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12](/img/b1/926d9b3d7ce9c5104f3e81974eef07.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 12

主数据管理理论与实践
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21](/img/73/4050a592fdd99bf06e8fd853b157b6.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 21

2022.02.13

Introduction to robotframework (III) Baidu search of webui automation

Déduisez la question d'aujourd'hui - 729. Mon emploi du temps I

解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
随机推荐
MySQL winter vacation self-study 2022 11 (5)
[Wu Enda machine learning] week5 programming assignment EX4 - neural network learning
Pat grade a 1033 to fill or not to fill
Keyword static
A copy can also produce flowers
Solution: attributeerror: 'STR' object has no attribute 'decode‘
2022.02.13
Ue4- how to make a simple TPS role (II) - realize the basic movement of the role
Introduction to robotframework (II) app startup of appui automation
Shell script updates stored procedure to database
3D drawing ()
Trends in DDoS Attacks
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 17
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
Blue Bridge Cup group B provincial preliminaries first question 2013 (Gauss Diary)
Advanced technology management - what is the physical, mental and mental strength of managers
Zero basic self-study STM32 wildfire review of GPIO use absolute address to operate GPIO
Minecraft 1.18.1, 1.18.2 module development 22 Sniper rifle
HttpRunnerManager安装(三)-Linux下配置myql数据库&初始化数据
Bigder:34/100 面试感觉挺好的,没有收到录取