码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
arthas(阿尔萨斯)使用实践----查看慢方法 /方法耗时等
初次使用时的一些问题 [ERROR] Target process 116477 is not the process using port 3658, you will connect to an unexpected process. [ERROR] 1. Try to restart arth ...
分类:其他好文   时间:2020-07-10 20:42:38    阅读次数:259
搜索DFS之城堡 The Castle
题目 P1457 [USACO2.1]城堡 The Castle 思路 三遍DFS求解 代码 #include<bits/stdc++.h> using namespace std; int n,m; const int maxn=50+5; int a[maxn][maxn][maxn][maxn ...
分类:其他好文   时间:2020-07-10 18:45:26    阅读次数:94
[数位DP][AHOI2009] Luogu P4127 同类分布
最后开long long过了, 心累, 摸了, 明天再写 # include <iostream> # include <cstdio> # include <cstring> # define LL long long # define MAXN 22 using namespace std; i ...
分类:其他好文   时间:2020-07-10 18:35:17    阅读次数:50
应用程序计时器
应用程序计时器 Application timers 应用程序计时器是内核对象,为任务提供简单的方法来计时事件,或者更常见的是,定期执行活动。介绍了Nucleus SE中计时功能的所有细节——准确性、中断处理等。 Using Timers 应用程序计时器可以配置为一次性的-即,它们被启动,然后,在指 ...
分类:其他好文   时间:2020-07-10 17:13:41    阅读次数:105
C# DES加密,KEY和IV不同设置的写法
1、KEY和IV分别赋值 //默认密钥向量 private static byte[] Iv= { 0x12, 0x34, 0x56, 0x78, 0x90, 0xAB, 0xCD, 0xEF }; /// <summary> /// DES加密字符串 /// </summary> /// <par ...
分类:Windows程序   时间:2020-07-10 17:06:46    阅读次数:97
水下探测器_题解
1 #include<iostream> 2 #include<cstring> 3 using namespace std; 4 int main() 5 { 6 7 int h, s; 8 string str;//或 char str[105] 9 cin>>h>>s; 10 cin>>str ...
分类:其他好文   时间:2020-07-10 15:43:58    阅读次数:71
A - Coloring Roads Gym - 102059A
用lct中的access操作来维护链。因为每一次更新到根节点所以不用split操作。 注意下传标记和统计的时候影响。 #include<iostream> #include<cstring> #include<algorithm> #include<cmath> #include<cstdlib> ...
分类:其他好文   时间:2020-07-10 15:32:17    阅读次数:70
关于循环赋值、memset与fill的效率测试
最近一直在做图论的题目。对于初始化的效率要求比较高。正巧我也对这三个函数不是很清楚。 就写了个测试程序来测试效率 测试程序: #include <bits/stdc++.h> //#pragma GCC optimize(2) using namespace std; #define max 100 ...
分类:其他好文   时间:2020-07-10 13:03:50    阅读次数:82
拷贝构造函数
一. 拷贝构造函数 1 #include<iostream> 2 using namespace std; 3 class CExample 4 { 5 private: 6 int a; 7 public: 8 //构造函数 9 CExample(int b) 10 { 11 a=b; 12 pr ...
分类:其他好文   时间:2020-07-10 11:26:03    阅读次数:35
PTA 乙级 1023 组个最小数 (20分)
水水水! 1 #include <iostream> 2 using namespace std; 3 4 int main() { 5 int a[10] = { 0 }; 6 for (int i = 0; i < 10; i++)cin >> a[i]; 7 //输出第一个数 8 for (i ...
分类:其他好文   时间:2020-07-10 09:25:45    阅读次数:45
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!