#include<stdio.h> #include<math.h> #define N 100 //N比输入的阶数大即可 int main() { int n,a[N][N],i,j; void row_col_times(int b[N][N],int n); printf("请输入方阵阶数:\ ...
分类:
编程语言 时间:
2018-11-26 11:02:05
阅读次数:
263
1.Algorithm:LeetCode刷题 2.Review:本周阅读 《Procrastination Sucks—So Here’s The “Eat That Frog” Way to Powerful Productivity(拒绝拖延,今日吃蛙)》 3.Tip:一个小窍门 关于if分支的 ...
分类:
其他好文 时间:
2018-11-26 10:22:39
阅读次数:
223
When install the yeoman using the following command: You might have the following error: Try the following commands instead: Now try to type 'yo' to s ...
分类:
其他好文 时间:
2018-11-26 10:20:47
阅读次数:
311
题目传送门 题目大意: 让你构造一个字符串,使字符串在题目给出的哈希条件下统计出错。 思路:生日攻击,结论题,尚未理解。 ...
分类:
其他好文 时间:
2018-11-26 02:31:31
阅读次数:
140
int main(int argc,char* argv[])浅析 argc : 指输入参数个数,默认值1,就是执行程序名称 argv[] : 输入参数数组指针 举个栗子: 1. 编写一个argc.c文件如下 2. 再编写一个Makefile文件如下: 3. 编译代码,生成可执行文件argc 4. ...
分类:
其他好文 时间:
2018-11-26 02:16:55
阅读次数:
163
两段极为相似的代码,主要想看看过输与序列化过程两者的用时差异,结果10000次的调用,WCF用了11秒多,remoting用了5秒不到!这是测试的源代码 WCF的服务端 Remoting的服务端 代码可以理解为一样的,以下的客户端,两客户端也可以视为一样的过程WCF客户端 Remoting客户端 ...
分类:
其他好文 时间:
2018-11-26 02:05:41
阅读次数:
200
public class Solution { public int MinDeletionSize(string[] A) { var result = 0; for (int j = 0; j A[i][j]) { ... ...
分类:
其他好文 时间:
2018-11-26 00:12:29
阅读次数:
133
Trees on the level 题目链接: https://vjudge.net/problem/UVA-122 题目意思: 给你一些(,)让你建立一棵树,直到输入()结束建树,然后判断树是否完整,如果没有结点未赋值或者被赋值两次,就按层次遍历输出树,否则输出not complete 代码: ...
分类:
其他好文 时间:
2018-11-26 00:08:26
阅读次数:
226
Description FJ打算带着他可爱的N (1 ≤ N ≤ 2,000)头奶牛去参加”年度最佳老农”的比赛.在比赛中,每个农夫把他的奶牛排成一列,然后准备经过评委检验. 比赛中简单地将奶牛的名字缩写为其头字母(the initial letter of every cow),举个例子,FJ带了 ...
分类:
其他好文 时间:
2018-11-26 00:00:48
阅读次数:
241
一、字符串转整数 以“123456”为例 完善后: 二、回文判断 从两边向中间 从中间到两边 ...
分类:
其他好文 时间:
2018-11-25 22:16:27
阅读次数:
203