- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 一个得手动结束的猜数字游戏
# include<time.h> void menu() { printf("*************************\n"); printf("****1.game() 0.exit()**\n"); printf("*************************\n"); } void game() { int num = 0; int in = 0...
2018-08-23 14:46:31 173
原创 面试题:替换空格
一、 1、题目:请实现一个函数,把字符串中的每个空格替换成“%20”。例如:输入“We wre happy”,则输出"We%20are%20happy"。 2、在网络编程中,如果URL参数中含有特殊字符,如空格、‘#’等,则可能导致服务器端无法获取正确的参数值。我们可以将这些特殊符号替换成服务器可以识别的字符。可以在‘%’后面跟上ASCII码的两位十六进制表示。空格的ASCII码为32. 3...
2018-08-04 17:36:03 158
原创 面试题
一、 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], ...
2018-08-01 12:02:55 128
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人