当前位置:网站首页>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
- Thinking on Architecture Design (under continuous updating)
- Template_ Find the reverse pair of permutations_ Sort based on merge
- 一个复制也能玩出花来
- Advanced technology management - what is the physical, mental and mental strength of managers
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
- Li Kou today's question -729 My schedule I
- 550 permission denied occurs when FTP uploads files, which is not a user permission problem
- Paper notes: limit multi label learning galaxc (temporarily stored, not finished)
- 怎么检查GBase 8c数据库中的锁信息?
猜你喜欢

HttpRunnerManager安装(三)-Linux下配置myql数据库&初始化数据
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24](/img/2e/b1f348ee6abaef24b439944acf36d8.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 24

Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator
![[postgraduate entrance examination English] prepare for 2023, learn list5 words](/img/6d/47b853e76d1757fb6e42c2ebba38af.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list5 words

Qt发布exe软件及修改exe应用程序图标

2022 China eye Expo, Shandong vision prevention and control exhibition, myopia, China myopia correction Exhibition
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16](/img/c3/f3746b161012acc3751b2bd0b8f663.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 16

纯Qt版中国象棋:实现双人对战、人机对战及网络对战

Pat grade a 1033 to fill or not to fill

主数据管理(MDM)的成熟度
随机推荐
高数_向量代数_单位向量_向量与坐标轴的夹角
DDoS attacks - are we really at war?
Solution: attributeerror: 'STR' object has no attribute 'decode‘
Template_ Quick sort_ Double pointer
Deeply analyze the chain 2+1 mode, and subvert the traditional thinking of selling goods?
Redis cluster deployment based on redis5
How to check the lock information in gbase 8C database?
主数据管理理论与实践
剑指 Offer 29. 顺时针打印矩阵
Formatting occurs twice when vs code is saved
07 单件(Singleton)模式
JS events (add, delete) and delegates
Qt发布exe软件及修改exe应用程序图标
MySQL winter vacation self-study 2022 11 (7)
[matlab] access of variables and files
解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
2022.02.13
MySQL winter vacation self-study 2022 11 (6)
Bigder: I felt good about the 34/100 interview, but I didn't receive the admission
SQL table name is passed as a parameter