//龟兔赛跑public class Race implements Runnable{ private static String winner; @Override public void run() { for (int i = 0; i <= 100 ;) { //模拟兔子休息 if (Th ...
分类:
编程语言 时间:
2020-05-31 21:29:04
阅读次数:
92
1049 Counting Ones (30分) The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of th ...
分类:
其他好文 时间:
2020-05-29 23:43:50
阅读次数:
106
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # Date : xxxx-xx-xx # # Author : Created by zhouwanchun. # # Wechat : loveoracle11g # # Function: Th ...
分类:
数据库 时间:
2020-05-29 19:47:31
阅读次数:
103
题目如下: A happy string is a string that: consists only of letters of the set ['a', 'b', 'c']. s[i] != s[i + 1] for all values of i from 1 to s.length - ...
分类:
移动开发 时间:
2020-05-29 10:03:22
阅读次数:
64
删除链表中倒数第n个结点 题目:LeetCode19 Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked list: 1->2->3->4- ...
分类:
其他好文 时间:
2020-05-29 09:26:32
阅读次数:
50
HTML:TR TD TH OL UL LI 什么是HTML 超文本标记语言(HyperText Markup Language),标准通用标记语言下的一个应用; 是网页制作必备的编程语 言 “超文本”就是指页面内可以包含图片、链接,甚至音乐、程序等非文字元素。 HTML 不是一种编程语言,而是一种 ...
分类:
Web程序 时间:
2020-05-27 18:46:21
阅读次数:
248
Have Ktag to remap 2010 Golf GTI MK6 with Bosch MED17.5 ECU. This article is available with the procedure. Open ECU… Connect the wires by following th ...
分类:
其他好文 时间:
2020-05-27 15:36:04
阅读次数:
61
POJ 2104 K-th Number 题意:给出一段数列,让你求[L,R]区间内第k大的数字 #include <cstdio> #include <cstring> #include <iostream> #include <vector> #include <algorithm> using ...
分类:
其他好文 时间:
2020-05-26 22:13:05
阅读次数:
76
地址:https://leetcode-cn.com/problems/n-th-tribonacci-number/ <?php /** 泰波那契序列 Tn 定义如下: T0 = 0, T1 = 1, T2 = 1, 且在 n >= 0 的条件下 Tn+3 = Tn + Tn+1 + Tn+2 给 ...
分类:
其他好文 时间:
2020-05-26 15:18:31
阅读次数:
76
队列 这个很好理解 先入先出,有点像排队,通过数组push和shift模拟,通常用作任务管理 栈 // 栈class Stack{ constructor() { this.items=[] } push(item){ this.items.push(item) } pop(){ return th ...
分类:
其他好文 时间:
2020-05-26 11:57:26
阅读次数:
56