上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 87 下一页
摘要: https://leetcode.com/problems/implement-strstr/ Implement strStr(). Return the index of the first occurrence of needle in haystack, or -1 if needle is 阅读全文
posted @ 2018-11-11 20:17 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1066/problem/B Vova's house is an array consisting of nn elements (yeah, this is the first problem, I think, where someo 阅读全文
posted @ 2018-11-11 19:39 丧心病狂工科女 阅读(272) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1066/problem/F Maksim walks on a Cartesian plane. Initially, he stands at the point (0,0)(0,0) and in one move he can go 阅读全文
posted @ 2018-11-11 19:35 丧心病狂工科女 阅读(143) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/pascals-triangle-ii/description/ Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's tri 阅读全文
posted @ 2018-11-10 10:29 丧心病狂工科女 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1006/problem/A Mishka got an integer array aa of length nn as a birthday present (what a surprise!). Mishka doesn't like 阅读全文
posted @ 2018-11-09 10:51 丧心病狂工科女 阅读(214) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805046380707840/problems/994805110318678016 题的目标很简单,就是求两个正整数A和B的和,其中A和B都在区间[1,1000]。稍微有点麻烦的是,输入并不保证是两个正整数。 输入格式: 输入在 阅读全文
posted @ 2018-11-08 12:02 丧心病狂工科女 阅读(398) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805342720868352/problems/994805433955368960 Zhejiang University has 40,000 students and provides 2,500 courses. Now 阅读全文
posted @ 2018-11-08 11:37 丧心病狂工科女 阅读(241) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/1075/problem/A On a chessboard with a width of nn and a height of nn, rows are numbered from bottom to top from 11 to nn 阅读全文
posted @ 2018-11-08 11:36 丧心病狂工科女 阅读(127) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-substring-without-repeating-characters/description/ Given a string, find the length of the longest substring wit 阅读全文
posted @ 2018-11-07 19:37 丧心病狂工科女 阅读(108) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/merge-sorted-array/description/ Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted ar 阅读全文
posted @ 2018-11-07 18:27 丧心病狂工科女 阅读(123) 评论(0) 推荐(0) 编辑
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 87 下一页