Petya and Vasya are competing with each other in a new interesting game as they always do. At the beginning of the game Petya has to come up with an a ...
分类:
其他好文 时间:
2020-05-17 13:32:47
阅读次数:
135
[TOC] https://codeforces.com/contest/1355 打一半和室友开黑去了哈哈哈哈哈哈反正不计分(不要学我) A. Sequence with Digits 这题我会证!首先对于百位来说,不可能从x跳到x+2,只能从x变成x+1或者不变(因为最大变化量为 $9\time ...
分类:
其他好文 时间:
2020-05-17 00:59:41
阅读次数:
90
Petya and Vasya are competing with each other in a new interesting game as they always do. At the beginning of the game Petya has to come up with an a ...
分类:
其他好文 时间:
2020-05-16 23:37:41
阅读次数:
129
实验四 代码评审 一、实验目的 1) 了解代码审查的含义; 2) 掌握相关编程规范检查工具的安装与使用; 二、实验内容及要求 Code Review中文应该译作“代码审查”或是“代码评审”或“代码复查”,是指通过阅读代码来检查源代码与编码标准的符合性以及代码质量的活动。Code Review主要用来 ...
分类:
其他好文 时间:
2020-05-16 20:54:24
阅读次数:
69
1、前言 最近在项目中,调用Eureka REST接口时,出现了CORS跨越问题(Cross-origin resource sharing),在此与大家进行分享,避免多走些弯路。 项目前端(http://localhost:9000)通过Ajax方式调用Eureka REST 接口(http:// ...
分类:
数据库 时间:
2020-05-16 16:47:26
阅读次数:
84
1.跨域解决方案CORS CORS是一个W3C标准,全称是"跨域资源共享"(Cross-origin resource sharing)。CORS需要浏览器和服务器同时支持。目前,所有浏览器都支持该功能,IE浏览器不能低于IE10。 它允许浏览器向跨源服务器,发出XMLHttpRequest请求,从 ...
分类:
其他好文 时间:
2020-05-16 00:24:46
阅读次数:
76
luogu AC通道! (官方数据) 题目描述 小智家里来了很多的朋友,总共有N个人,站成一排,分别编号为0到N-1,小智要给他们分糖果。但 是有的朋友有一些特殊的要求,有的人要求他左右的两个人(左边一个、右边一个,一共2个人)的 糖果数都比他的多,有的人要求他左右的两个人的糖果数都比他的少。同时小 ...
分类:
其他好文 时间:
2020-05-15 20:15:49
阅读次数:
116
good morning. Since we have been through the main idea, now i am going to talk about the aesthetics behind the story. well Actually i am not sure if i ...
分类:
其他好文 时间:
2020-05-15 13:40:40
阅读次数:
91
1 package test_12_2; 2 3 public interface Game { 4 5 boolean move(); 6 } 1 package test_12_2; 2 3 public interface GameFactory { 4 5 Game getGame(); 6 ...
分类:
编程语言 时间:
2020-05-15 00:34:12
阅读次数:
74
CF1349B Orac and Medians 题目描述 有$n$个数,$a_1,a_2,...,a_n$。 该题中$m$个数的中位数的定义是:将这$m$个数排序后,排在第$\lfloor \frac{m+1}{2}\rfloor$的数。 可以进行的操作是:选一个区间$[l,r]$,将$a_l,a ...
分类:
其他好文 时间:
2020-05-13 23:43:33
阅读次数:
123