码迷,mamicode.com
首页 >  
搜索关键字:magic    ( 1247个结果
Matlab-subplot_function
pos1 = [0.05 0.4 0.3 0.3];subplot('Position',pos1)y = magic(4);plot(y)title('First Subplot') pos2 = [0.5 0.15 0.4 0.7];subplot('Position',pos2)bar(y)t ...
分类:其他好文   时间:2019-08-23 13:11:30    阅读次数:74
Magic-Club第三天
今日完成: 1.今天将两人的项目合二为一,网址为https://org.modao.cc/app/93623c4c825b35e9565e3f7a88bdd9a16c05f2a9。 2.完成大部分的页面设计,如下: 3.讨论项目需求,打了草稿。 明日计划: 1.完成所有界面设计 2.完成数据库设计 ...
分类:其他好文   时间:2019-08-21 20:08:20    阅读次数:104
CodeForces-259B]Little Elephant and Magic Square
Little Elephant loves magic squares very much. A magic square is a 3?×?3 table, each cell contains some positive integer. At that the sums of integers ...
分类:其他好文   时间:2019-08-21 09:33:05    阅读次数:119
Magic boy Bi Luo with his excited tree (树形dp)
Bi Luo is a magic boy, he also has a migic tree, the tree has NN nodes , in each node , there is a treasure, it's value is V[i]V[i], and for each edge ...
分类:其他好文   时间:2019-08-18 14:00:56    阅读次数:73
二分查找
二分查找 package demo3;public class BinarySearch { public String binarySearch(int[] array,int key) { int left = 0; int right = array.length-1; while (left ...
分类:其他好文   时间:2019-08-16 00:39:38    阅读次数:87
RMQ(鸽巢原理或字符串操作)
http://acm.hdu.edu.cn/showproblem.php?pid=3183 A Magic Lamp Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Subm ...
分类:其他好文   时间:2019-08-11 22:50:29    阅读次数:134
[Lucas][树形dp][组合] Bzoj P2111 Perm 排列计数
Description 称一个1,2,...,N的排列P1,P2...,Pn是Magic的,当且仅当2<=i<=N时,Pi>Pi/2. 计算1,2,...N的排列中有多少是Magic的,答案可能很大,只能输出模P以后的值 称一个1,2,...,N的排列P1,P2...,Pn是Magic的,当且仅当2 ...
分类:其他好文   时间:2019-08-11 17:03:41    阅读次数:81
zsh
快速安装 配置主题 从官网中可以预览各种主题,见 https://github.com/robbyrussell/oh my zsh/wiki/Themes。配置主题只需按一下步骤: 禁止粘贴命令时自动对特殊字符进行转义 (1)编辑 文件 (2)注释掉 解决中文乱码 在 添加 然后执行 更换系统默认 ...
分类:其他好文   时间:2019-08-11 14:57:45    阅读次数:128
MySQL CAST与CONVERT 函数的用法
MySQL 的CAST()和CONVERT()函数可用来获取一个类型的值,并产生另一个类型的值。两者具体的语法如下: 就是CAST(xxx AS 类型), CONVERT(xxx,类型)。 可以转换的类型是有限制的。这个类型可以是以下值其中的一个: 二进制,同带binary前缀的效果 : BINAR ...
分类:数据库   时间:2019-08-08 00:32:35    阅读次数:146
Codeforces Edu Round 60 A-E
A. Best Subsegment 显然,选择数列中的最大值当做区间(长度为$1$)。只要尝试最大值这个区间是否能扩展(左右两边值是否跟它一样就行了) C. Magic Ship 二分答案。容易看出,时刻符合单调性。若$d$天能到,那么$d + 1$也能到。因为可以保持跟风相反的方向就可以保持不动 ...
分类:其他好文   时间:2019-08-04 01:45:15    阅读次数:109
1247条   上一页 1 ... 15 16 17 18 19 ... 125 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!