登录
|
注册
公司
标签
文章
搜索
字符串
热门公司
百度
微软
腾讯
华为
阿里巴巴
迅雷
热门职位
C语言工程师
研发工程师
测试工程师
所有
有回答
没回答
新题目
有最佳答案
排序
热度
·
时间
·
经典指数
1
0
3288
求两个多项式乘积的问题相信大家在中学时经常碰到,它是这样的一个问题: pa=an*x^n + an-1*x^(n-1) + … + a1*x + a0 pa=bm*x^m + bm-1*x^(m-1) + … + b1*x + b0 其中,an, an-1, …,a0, bm, bm-1, … ,b0 都是整数,范围[-10000, 10000]。0 ...
阅读题目
Java
小米
C语言工程师
字符串
问答题
经典指数
1
0
3439
简述:IP防火墙 Security公司的网络管理工程师Mr. leak最近发现有不少来自公司外部IP的请求,试图非法访问公司内部资源,为了不影响数据访问流程。他不得不写一个高效的程序——一个工作在Ipv4上的防火墙,如果请求来自非授权的ip地址,则将请求丢弃。为了便于管理,通过文本文件IP.TXT来配置授权的IP地址,文件格式为每行(’/n’)一个 IP地址(或IP段),范围不超过一个B类。例如: 162.105.91.163 59.66.105.0 59.66.105.255 211.71.0.0 211.71.255.255 限制:IP段的起止地址间以空格隔开。文件不超过10万行,内存不超过4M字节。 要求:请编写一个程序,读入IP.TXT文件。并从标准输入接受一个IP地址。如果该地址在授权范围内,则在标准输出上打印Y,否则打印N.如果输入为一个空行,程序结束。 请给出思路(文字描述),完成代码,分析你采用算法的优劣。 请列举测试方法和思路 ...
阅读题目
百度
网络基础
字符串
测试工程师
问答题
经典指数
1
0
1695
请实现函数,输入一个参数baseStr是一个(可以更改的)字符串,请将其中所有连续出现的多个空格替换成一个空格,单空格需保留。可以使用任何语言,如需使用任何库函数,必须同时给出库函数的实现。 ...
阅读题目
小米
字符串
问答题
经典指数
1
0
1336
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords since it is hard to distinguish 1 (one) from l (L in lowercase), or 0 (zero) from O (o in uppercase). One solution is to replace 1 (one) by @, 0 (zero) by %, l by L, and O by o. Now it is your job to write a program to check the accounts generated by the judge, and to help the juge modify the confusing passwords. 输入描述: Each input file contains ...
阅读题目
字符串
面试题
经典指数
1
0
2412
串是一种数据对象和操作都特殊的线性表() 对 错 ...
阅读题目
字符串
单选题
经典指数
1
0
1022
The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker's personality. Such a preference is called "Kuchiguse" and is often exaggerated artistically in Anime and Manga. For example, the artificial sentence ending particle "nyan~" is often used as a stereotype for characters with a cat-like personality: Itai nyan~ (It hurts, nyan~) Ninjin wa iyada nyan~ (I hate carrots, nyan~) Now given a few lin ...
阅读题目
字符串
面试题
经典指数
1
0
3092
删除字符串中指定的字符,如字符串”abcdeas",需要删除的字符为“ade",则得到的结果为”bcs”。 ...
阅读题目
2015
人人网
研发工程师
字符串
问答题
经典指数
1
0
1130
Sherlock Holmes received a note with some strange strings: "Let's date! 3485djDkxh4hhGE 2984akDfkkkkggEdsb s&hgsfdk d&Hyscvnm". It took him only a minute to figure out that those strange strings are actually referring to the coded time "Thursday 14:04" -- since the first common capital English letter (case sensitive) shared by the first two strings is the 4th capital letter 'D', representing the 4th day in a week; the second common character is the 5th capital letter 'E', representing th ...
阅读题目
字符串
面试题
经典指数
1
0
1908
判断字符串 b 的所有字符是否都再字符串 a 中出现过,a,b都是可能包含汉字的字符串。b中重复出现的汉字,那么a中也要至少出现相同的次数。 汉字使用gbk编码(简单的所,用两个字节表示一个汉字,高字节最高位为1的代表汉字,低字节最高位可以不为1)。 int is_include(char *a , char *b) 返回0 表示没有都出现过,返回1表示都出现过。 ...
阅读题目
百度
字符串
问答题
经典指数
1
0
2094
用C语言实现一个revert函数,它的功能是将输入的字符串在原串上倒序后返回。 ...
阅读题目
百度
C语言工程师
字符串
问答题
经典指数
<<
<
5
6
7
8
9
10
>
>>
210
题目数
1
贡献者
212
答案数
扫描后移动端查看
我也分享一个题目
相关标签
C语言工程师
百度
查找
复杂度
研发工程师
动态规划
微软
基础知识
腾讯
华为
同类标签
树
排序
数组
链表
复杂度
查找
栈
图
哈希
队列
微信公众号
欢迎加入,一起群聊
×
登录
注册
找回密码
记住登录
登录
快速注册
直接第三方登录