一、SpringBoot如何使用Slf4j日志 springboot是默认使用slf4j进行日志管理的,所以集成也比较方便。 1、添加依赖 (1)spring-boot-starter-web依赖,用于自动导入日志框架的依赖 <dependency> <groupId>org.springframe ...
分类:
编程语言 时间:
2021-06-19 18:54:19
阅读次数:
0
https://ac.nowcoder.com/acm/contest/11212/E #include<bits/stdc++.h> using namespace std; // define a point class to store a point class Point { public ...
分类:
其他好文 时间:
2021-06-19 18:50:57
阅读次数:
0
原题链接 考察:贪心 错误思路: 对于每个任务,按d,a顺序排序,如果不能按时完成就付钱使得按时完成. 思路: 不一定要压当前任务的时间,我们可以压花费更小的任务时间,使得超时任务按时完成. ##Code #include <iostream> #include <cstring> #include ...
分类:
其他好文 时间:
2021-06-19 18:48:51
阅读次数:
0
知识点:dp+trie 这道题显然是从前往后dp的,题解区里还没有这样的题解,我就来发一波(题解区里也有提到不过并没有做详细的说明也没有代码)。 思路和从后往前的基本一样。 设 $dp_i$代表前缀 \(s_{1...i}\) 有多少种不同的组成方式。 很容易想到转移方程: 如果一个模式串 \(t\ ...
分类:
其他好文 时间:
2021-06-19 18:45:40
阅读次数:
0
from turtle import * def square(size=50, rgb = 'orange'): pencolor(rgb) for i in range(4): fd(size) left(90) def main(): setup(800, 600) speed(0) for ...
分类:
其他好文 时间:
2021-06-18 20:05:27
阅读次数:
0
from turtle import *def moveto(x,y): penup() goto(x,y) pendown()def main(): setup(800, 600) speed(0) for radius in range(20, 200, 20): moveto(0, -radi ...
分类:
其他好文 时间:
2021-06-18 20:00:08
阅读次数:
0
一.安装i18n npm install vue-i18n --save 二.新建文件夹locales和pages 文件夹平行,里面创建 indedx.js 公共使用 en.js 英文 zh.js 中文 三.index.js 里内容 四 en.js 五 zh.js 六 main.js 引入 七使用 ...
分类:
移动开发 时间:
2021-06-18 19:58:18
阅读次数:
0
#include <stdio.h> int main() { char sh[13][6]={"个","十","百","千","万","十万","百万","千万","亿","十亿","百亿","千亿","万亿"}; // int cc=0; // for(cc=0;cc<=13;cc++) // ...
分类:
编程语言 时间:
2021-06-18 19:37:12
阅读次数:
0
CMD的控制字符输出 小实验: 1 #include<stdio.h> 2 int main() 3 { 4 int i; 5 for(i=0;i<256;i++) 6 printf("%d:%c\t",i,i); 7 return 0;; 8 } 输出 看这输出,一些地方有些问题啊,如7,8,9, ...
分类:
其他好文 时间:
2021-06-18 19:36:50
阅读次数:
0
一、简介 基于matlab GUI dwt与svd算法数字水印 二、源代码 function varargout = main(varargin) % MAIN M-file for main.fig % MAIN, by itself, creates a new MAIN or raises t ...
分类:
其他好文 时间:
2021-06-18 19:30:07
阅读次数:
0