题目题意:给定两个字符串:原始串和实际串,求差集#include<iostream>#b; for(auto i : b) if(i>='a'&am...
原创 2023-06-27 10:16:25
54阅读
水题~。 set<char> S; set<char> res; string a,b; int main() { cin>>a>>b; for(auto t:b) { t=toupper(t); S.insert(t); } for(auto t:a) { t=toupper(t); if(S.c
转载 2021-02-17 16:59:00
66阅读
1084 Broken Keyboard (20 point(s))On a broken keyboard, some of the keys are w
原创 2022-09-15 11:05:37
57阅读
在typeOut长度范围内 original和打出的typeOut一样 两者都加, 否则typeOut缺失看看这个缺失的在不再brokenkeys里面,不在加; 在typeOut长度范围外 看看剩下的original是否有不在brokenkeys里面的,不在加
原创 2022-11-25 11:13:31
57阅读
On a broken keyboard, some of the keys are worn out(破旧的). So when you type some sentences, the characters corresponding to those ke
原创 2022-05-25 17:50:42
41阅读
题目例如以下: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appe
原创 2021-08-07 09:44:04
100阅读
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc
转载 2018-03-25 13:36:00
50阅读
1084Broken Keyboard(20分)On a broken keyboard, some of the keys are worn out. S
原创 2022-09-19 15:41:20
36阅读
​​https://pintia.cn/problem-sets/994805342720868352/problems/994805382902300672​​输入格式:7_This_is_a_test_hs_s_a_es输出格式:7TI【大致思路】       分别读入两个字符串,第一个for循环枚举第一个字符串,内部嵌套的第二个for枚举第二个字符串,如果是小写
原创 2022-07-14 10:16:30
63阅读
On a broken keyboard, some of the keys are worn out. So when you type some sentences are supposed to...
原创 2023-05-18 15:18:13
44阅读
题目链接On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a string that you are suppo...
原创 2021-07-12 10:19:10
57阅读
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc
转载 2018-09-05 13:07:00
64阅读
2评论
1084. Broken Keyboard (20)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueOn a broken keyboard, some of the keys are worn out. So when you t...
转载 2015-07-19 15:12:00
52阅读
2评论
1084. Broken Keyboard (20)时间限制200 ms内存限制65536 kB代码长度限制160
原创 2022-11-09 18:18:30
62阅读
Problem Description:On ar on screen.Now given a string t...
原创 2023-06-28 15:35:25
29阅读
转载 2017-05-24 12:27:00
71阅读
2评论
目录1,题目描述题目大意2,思路3,AC代码4,解题过程1,题目描述Sample Input:7_This_is_
原创 2022-10-27 15:58:44
81阅读
#include#includeconst int maxn = 100000 + 5;int last, cur, next[maxn];char s[maxn];int main(){ while(scanf("%s", s+1) == 1) { int n = strlen(s+1); last = cur = 0; nex
原创 2022-08-05 15:46:22
40阅读
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2381当时比赛的时候看了看这题没什么想法 就去看别的题了 之后cz很快就A了 晚上看了下他的代码 敲了敲遍历一遍 之前标记的会影响后面算数的删掉View Code 1 #include <iostream> 2 #include<cstdio> 3 #include<string.h> 4 using namespace std; 5 char c[1000011]; 6 int f[500]; 7 int
转载 2012-08-29 22:08:00
57阅读
2评论
原题及翻译Broken Keyboard (...
转载 2019-02-24 08:43:00
79阅读
2评论
  • 1
  • 2
  • 3
  • 4
  • 5