当前位置:网站首页>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;
}
边栏推荐
- 纯Qt版中国象棋:实现双人对战、人机对战及网络对战
- 微软语音合成助手 v1.3 文本转语音工具,真实语音AI生成器
- Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns
- 在GBase 8c数据库中使用自带工具检查健康状态时,需要注意什么?
- Data preparation
- sql表名作为参数传递
- Differences and usage scenarios between TCP and UDP
- Paper notes: limit multi label learning galaxc (temporarily stored, not finished)
- 会员积分营销系统操作的时候怎样提升消费者的积极性?
- 有没有sqlcdc监控多张表 再关联后 sink到另外一张表的案例啊?全部在 mysql中操作
猜你喜欢

Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns

GifCam v7.0 极简GIF动画录制工具中文单文件版

主数据管理理论与实践

Pat grade a 1033 to fill or not to fill
![[postgraduate entrance examination English] prepare for 2023, learn list5 words](/img/6d/47b853e76d1757fb6e42c2ebba38af.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list5 words

技术管理进阶——什么是管理者之体力、脑力、心力

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

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

3D drawing ()

Solution: attributeerror: 'STR' object has no attribute 'decode‘
随机推荐
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 10
纯Qt版中国象棋:实现双人对战、人机对战及网络对战
Method of changing object properties
Redis delete policy
Formatting occurs twice when vs code is saved
[Digital IC manual tearing code] Verilog asynchronous reset synchronous release | topic | principle | design | simulation
JS events (add, delete) and delegates
Black high-end responsive website dream weaving template (adaptive mobile terminal)
Blue Bridge Cup group B provincial preliminaries first question 2013 (Gauss Diary)
解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
HDU_ p1237_ Simple calculator_ stack
MySQL winter vacation self-study 2022 11 (8)
Follow the mouse's angle and keyboard events
Initial understanding of pointer variables
Data preparation
RobotFramework入门(二)appUI自动化之app启动
模板_求排列逆序对_基于归并排序
大厂镜像库
After changing the GCC version, make[1] appears in the compilation: cc: command not found
深度解析链动2+1模式,颠覆传统卖货思维?