A string s is called an (k,l)-repeat if s is obtained by concatenating k>=1 times some seed string t with length l>=1. For example, the string s = aba ...
分类:
其他好文 时间:
2020-07-11 00:16:01
阅读次数:
65
题目链接: 「模板」负环 解释 不要deque,否则会出错,就是可能会都判为有负环 用queue是正常的 自己的出错数据 正确答案为:NO(应该是无负环) Code #include <cstdio> #include <cstring> #include <algorithm> #include ...
分类:
其他好文 时间:
2020-07-10 21:11:28
阅读次数:
65
下面开始列举 #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { ////输入输出 printf("Hello world!"); printf("\r\n"); printf("Number = %d" ...
分类:
其他好文 时间:
2020-07-10 17:07:05
阅读次数:
77
gate 用时:60min,几乎全是照题解写的,所以没什么bug 题目大意: 给定一个$N\times M$的天空,$T$个$P*Q$的星座,求有几个星座在天空中出现。 星空由 \('\ *\ '\) 和 \('\ 0\ '\) 组成。 多组数据,$1 \le N, M \le 1000, 1 \l ...
分类:
其他好文 时间:
2020-07-10 13:13:24
阅读次数:
51
package com.sjw.hbase; import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.hbase.*;import org.apache.hadoop.hbase.client.*;import org ...
模板 #include<iostream> #include<cstdio> #include<cstring> #include<cmath> #include<complex> #define maxn 4000010 #define PI (acos(-1.0)) using namespac ...
分类:
其他好文 时间:
2020-07-09 12:31:09
阅读次数:
80
调取手机摄像头 <view @click="scan">扫码验证</view> scan() { //扫码验证 var _this = this; uni.scanCode({ onlyFromCamera: true, //为true只允许相机扫码,不加允许相册扫码 success: functi ...
分类:
移动开发 时间:
2020-07-08 18:08:34
阅读次数:
464
快排 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<vector> #include<stack> #include<map> #include<cstdio> #include< ...
分类:
其他好文 时间:
2020-07-07 21:01:02
阅读次数:
81
通常情况下我们在创建spring项目的时候在xml配置文件中都会配置这个标签,配置完这个标签后,spring就会去自动扫描base-package对应的路径或者该路径的子包下面的java文件,如果扫描到文件中带有@Service,@Component,@Repository,@Controller等 ...
分类:
其他好文 时间:
2020-07-07 20:21:58
阅读次数:
59
学习内容 1.读输入 Scanner in = new Scanner(System.in); System.out.println(in.nextLine()); 2.读入一行文字 System.out.println(in.nextLine()); in这个对象做读入下一行的动作,让System ...
分类:
编程语言 时间:
2020-07-07 19:51:55
阅读次数:
55