当前位置:网站首页>Pat 1050 string subtraction (20 points) string find
Pat 1050 string subtraction (20 points) string find
2022-06-25 21:34:00 【Python ml】
#include <iostream>
using namespace std;
int main() {
string s1,s2;
getline(cin,s1);
getline(cin,s2);
for(int i=0;i<s1.length();i++){
if(s2.find(s1[i])==string::npos)
printf("%c",s1[i]);
}
return 0;
}
边栏推荐
- On ACM competition
- Molecular dynamics - basic characteristics of molecular force field
- 109 practical shell scripts
- Is it safe for qiniu school to open a securities account?
- Finger collar pin exclusive Medal
- VFS appears when mounting a file system from an SD card: cannot open root device "mmcblk1p2“
- Is it legal to open an account for flush stock trading software? Is it safe?
- lombok
- C language dynamic memory allocation
- multiplication table
猜你喜欢

PHP runtime and memory consumption statistics code

On ACM competition

ASC - DAY2

Circular structure and circular keywords

Openocd adds third-party device support: ht32f52352 Cortex-M0+

"Developer theory" multi system integrated development - rapid nailing of enterprise owned systems

Volatile qualifier

Beginner to embedded development

C language dynamic memory allocation

1.0-mq getting started and using
随机推荐
Q5 s905l firmware version 202109
ECU test modify test case
js (1)
1.0-mq getting started and using
[nail scenario capability package] hospital visitor verification
IPv4 and IPv6 (powercert animated videos)
Openocd adds third-party device support: ht32f52352 Cortex-M0+
Circular structure and circular keywords
Win10 common software
Molecular dynamics - basic characteristics of molecular force field
ThreadLocal class
If switch branch structure
C language soul torture: do you know the difference between the two?
Sqlmap for interface security testing
Soft test intermediate simple notes
熊市指南|一些本质的教训与具体的生存法则
Finger collar pin exclusive Medal
Ecu-test report converted to excel format
Summary of several methods for FPS calculation
How testers write functional test cases