Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 ...
分类:
其他好文 时间:
2020-07-20 10:52:27
阅读次数:
55
Given a tree (i.e. a connected, undirected graph that has no cycles) consisting of n nodes numbered from 0 to n - 1 and exactly n - 1 edges. The root ...
分类:
其他好文 时间:
2020-07-20 10:50:59
阅读次数:
70
基本概念 什么是 I/O? 通过 I/O 可以完成硬盘文件的读和写。 概念图:输入、输出是相对于内存而言的,以内存为参照物。 1、I/O 流的分类方式: 按照流的方向进行分类: 以内存为参照物,往内存中去称为输入(Input)或者读(Read)。 按照读取数据方式不同进行分类: 有的流是按照字节的方 ...
分类:
其他好文 时间:
2020-07-20 10:32:34
阅读次数:
65
src\TodiList.vue <template> <div id="app"> <input v-model="inputValue" /> <button @click="handleSubmit">提交</button> <ul> <todo-item v-for="(item,index ...
分类:
其他好文 时间:
2020-07-19 23:57:30
阅读次数:
109
先暂存 1 module mul_add( 2 input sclk , 3 input s_rst_n , 4 5 //input start , 6 input [7:0] x , // 乘数 7 input [7:0] y , // 被乘数 8 9 output reg [15:0] resu ...
分类:
其他好文 时间:
2020-07-19 23:49:17
阅读次数:
75
1. 使用while循环输出1 2 3 4 5 6 8 10count = 0while count < 10: count += 1 if count == 7 or count == 9: continue print(count)2.求1-100的所有数的和 num = 0count = 1w ...
分类:
其他好文 时间:
2020-07-19 23:45:36
阅读次数:
86
用了kuangbin大佬的板子 一.二维计算几何模板 1.点 struct Point { double x, y; Point() {} Point(double _x, double _y) { x = _x; y = _y; } void input() { scanf("%lf%lf", & ...
分类:
其他好文 时间:
2020-07-19 23:32:16
阅读次数:
67
java 缓冲流 什么是java缓冲流? 缓冲流也叫高效流,是对四个基本的FileXxx流的增强,按照数据类型分类: 字节缓冲流 :BufferedInputStream,BufferedOutputStream 字符缓冲流:BufferedReader,BufferedWriter 基本原理: 是 ...
分类:
编程语言 时间:
2020-07-19 18:02:41
阅读次数:
88
最近调试机顶盒没有遥控板 发现adb也可以模拟遥控板 应急一下蛮方便的 下面是输入一段文字 adb shell input text "demotest" 下面是输入特定键 adb shell input keyevent keycode 其中keycode是数字,不同的数字代表不同的操作,如下 电 ...
分类:
数据库 时间:
2020-07-19 17:48:46
阅读次数:
101
1、一个简单的html例子看看用户信息安全 标准的html语法中,支持在form表单中使用<input></input>标签来创建一个HTTP提交的属性,现代的WEB登录中,常见的是下面这样的表单: <form action = "http://localhost:8080/Application/ ...
分类:
Web程序 时间:
2020-07-19 17:48:07
阅读次数:
96