BaoBao has a sequence a?1?,a?2,...,a?n. He would like to find a subset S of {1,2,...,n} such that ?i,j∈S, a?i ⊕a?j include include include include inc ...
分类:
其他好文 时间:
2018-09-16 20:52:31
阅读次数:
153
0 - 解决方法 打开Preferences->Settings 在弹出的Settings对话框中,加入"dpi_scale": 1.0 重新启动sublime text 3即可 1 - 原因 根据解决方法,以及重启后正确显示中文文件夹的字体普遍变小,我猜想这个解决方案是将目录的默认字体缩小,而本来 ...
分类:
其他好文 时间:
2018-09-16 15:56:53
阅读次数:
156
不知道题意,队友用java大数+二分过了? import java.util.Arrays; import java.util.Scanner; import java.io.*; import java.math.*; public class Main { static boolean chec ...
分类:
其他好文 时间:
2018-09-16 15:25:57
阅读次数:
150
在CCS上生成.bin .hex .txt文件并烧录到MSP430 使LCD灯亮 摘自 https://www.cnblogs.com/binglmm/p/9629618.html 做了小小补充。 1,在CCS上正确创建工程文件。 新建工程:File-New-CCS Project 2,在main. ...
分类:
其他好文 时间:
2018-09-16 12:30:59
阅读次数:
731
There are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following req ...
分类:
其他好文 时间:
2018-09-16 12:25:21
阅读次数:
169
dp维护一下最大值与最小值,注意边界情况的判定。 #include <iostream> #include <cstring> using namespace std; const long long inf = (long long)1e18+(long long)9; long long dp[ ...
分类:
其他好文 时间:
2018-09-16 12:24:12
阅读次数:
177
1:在models.py文件中建立数据表 因为我是后来添加的图片字段,所以需要在里面加个null=True,至于Upload_to是文件板寸的路径 2:配置setting.py 这个就像配置static差不多,我原本是把MEDIA_URL写成'/media/'的,不过读取图片的时候找不到 改成'Bl ...
分类:
数据库 时间:
2018-09-16 00:33:36
阅读次数:
220
题目: Suppose you have a long flowerbed in which some of the plots are planted and some are not. However, flowers cannot be planted in adjacent plots - ...
分类:
其他好文 时间:
2018-09-15 23:23:34
阅读次数:
194
DMKAlex wrote: Vesku wrote: DMKAlex wrote: Can someone explain this please? Thanks. CBR = constant bitrate VBR = variable bitrate (more bitrate when l ...
分类:
其他好文 时间:
2018-09-15 16:25:53
阅读次数:
318
题意:给一个井字棋的棋盘,对于已经赢的局面,得分是(棋盘上的空格子数+1)*(A为1,B为-1),给出现在的局面求最后的得分 思路:这个叫对抗搜索,每次换一个人搜一下,上次考我还在想下哪里?结果答案是:搜索,随便下 ...
分类:
其他好文 时间:
2018-09-15 15:24:15
阅读次数:
320