2 两数相加 date : Dec.28th, 2019 platform : windows thinking raw method for problem solving. code ...
分类:
其他好文 时间:
2019-12-28 21:14:04
阅读次数:
59
package com.ahclg.casePoker;import java.awt.font.FontRenderContext;import java.util.ArrayList;import java.util.Collections;import java.util.HashMap;im ...
分类:
其他好文 时间:
2019-12-27 23:53:06
阅读次数:
99
"题意" 看见配对数最多,想到这是最大流。看到代价,想到这是最大费用流。 于是这题是最大费用最大流。 ~~做完了,撒花!~~ 我们发现这题没有明显的组别之分,也就是说我们并不知道建图时谁连源点谁连汇点。 再次观察题中给出的配对的条件:$a_i$是$a_j$的倍数且满足$\frac{a_i}{a_j} ...
分类:
其他好文 时间:
2019-12-27 23:40:24
阅读次数:
108
numStr = input("请输入一个大于1的正整数:") n = int(numStr) m = n * n i = 1 numbers = [] values = [] while i <=n: #生成列表 values.apped(i) if i % n ==0: numbers.appe ...
分类:
编程语言 时间:
2019-12-27 23:33:04
阅读次数:
452
Matrix in houdini is still just a collection of numbers, the only different is :How you apply this data determines what kind of matrix it is. There is ...
分类:
其他好文 时间:
2019-12-27 18:09:05
阅读次数:
90
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #define ERROR 0 #define OK 1 typedef struct Stack { int *elements; int max_size, top_index; ...
分类:
其他好文 时间:
2019-12-27 13:19:25
阅读次数:
64
转自:https://blog.csdn.net/lu_embedded/article/details/53486545 关于Cyclictest工具,在Wiki上有说明:https://rt.wiki.kernel.org/index.php/Cyclictest。下面将对Wiki上的部分说明进 ...
分类:
系统相关 时间:
2019-12-27 11:53:26
阅读次数:
125
分享几个shell程序,便于linux期末复习 1.判断用户输入的数是否为回文数 1 #!/bin/bash 2 read in 3 res=`echo $in|rev` 4 if [ $res -eq $in ] 5 then 6 echo "$in is a huiwenshu!" 7 elif ...
分类:
系统相关 时间:
2019-12-27 00:14:58
阅读次数:
134
用过百度富文本编辑器ueditor,还用过Ttinymce编辑器,都感觉很一般,最近看到一个超级好用的富文本,除了普通富文本的这些功能,还可以直接在编辑器上输入代码来写页面。左边写内容,右边看效果,也就是相当于可视化编辑器。 好了,废话不多说,直接开始吧。 首先第一步肯定是安装了: 命令行工具输入: ...
分类:
其他好文 时间:
2019-12-26 13:35:31
阅读次数:
217
#include <stdio.h>int main() { int *p1,*p2,*p,a,b; printf("please enter two integer numbers:"); scanf("%d,%d",&a,&b); // 输入两个整数 p1=&a; // 使p1指向变量a p2= ...
分类:
其他好文 时间:
2019-12-26 13:34:29
阅读次数:
972