
Algorithm
时光诠释
这个作者很懒,什么都没留下…
展开
-
湫湫系列故事——减肥记
#include <cstdio>#include <cstring>bool flag[2000];int trans(int x, int y) { return 60 * x + y;}int main() { int n; while (scanf("%d", &n) != EOF) { memset(flag, 0, sizeof(flag));原创 2018-01-02 15:33:18 · 436 阅读 · 0 评论 -
快速排序
package sort;/** * @author Yoke * Created on 2018/5/21 */ public class quickSort {public static void main(String[] args) { int a[] = {4, 3, 10, 5, 2, 1}; ajustArray(a, 0, a.length -...原创 2018-05-21 14:50:32 · 126 阅读 · 0 评论 -
LeetCode-Word-Pattern
title: LeetCode-Word-Patterndate: 2019-01-31 12:23:25tags: LeetCodecategories: LeetCode290. Word PatternDifficulty: EasyGiven a pattern and a string str, find if str follows the same pattern.H...原创 2019-01-31 12:27:07 · 187 阅读 · 0 评论