码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
Educational Codeforces Round 102 (Rated for Div. 2) E. Minimum Path
最短路变形:用一条最小边替换一条最大边意义下的最短路 分层图,dis[i][0/1][0/1]表示点i,是否经过最小边,是否经过最大边 最小边两倍贡献,最大边0贡献 /* * Author : GhostCai * Expecto Patronum */ #include<bits/stdc++.h ...
分类:其他好文   时间:2021-01-19 11:43:34    阅读次数:0
ubuntu 环境里,指定libc版本运行程序
下载某个版本的glibc,我是在这里下载的:https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/g/glibc/ 我把它解压到lib00文件夹里:dpkg -x libc6_2.31-0ubuntu9.1_amd64.deb lib00 利用p ...
分类:系统相关   时间:2021-01-19 11:43:12    阅读次数:0
CodeForces - 1461B Find the Spruce(递推)
CF1461B Find the Spruce 题目大意: 求指定类型图案的数量。 思路: 一个很巧妙的递推式。 注意从下往上进行递推。 Code: #include <bits/stdc++.h> using namespace std; const int N = 510; int n, m; ...
分类:其他好文   时间:2021-01-19 11:39:58    阅读次数:0
第一个Windows实例程序
1、实现弹出如下样式的提示框: 2、实现弹出的字符串内容通过exe参数传进去,例如: #include <Windows.h> #include <tchar.h> int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPreInstance, L ...
分类:Windows程序   时间:2021-01-18 11:43:09    阅读次数:0
李超线段树
参考: https://oi-wiki.org/ds/li-chao-tree/ 例题: P4097 [HEOI2013]Segment #include<bits/stdc++.h> #define db double const int p=39989; using namespace std; ...
分类:其他好文   时间:2021-01-18 11:39:35    阅读次数:0
C语言 处理无符号标记的OJ题目输入
#include<stdio.h> int main() { int n, m; while (scanf("%d%d", &n, &m) ==2) //(scanf("%d%d",&n,&m)!=EOF); { printf("m+n=%d\n", m + n); } return 0; ...
分类:编程语言   时间:2021-01-18 11:23:41    阅读次数:0
C++STL——Algorithms
通常在C或C++的编程过程中可以使用头文件#inlcude<algorithms>来使用在其他标准库中的一些相关函数,例如最近我在使用的——快排。 快排函数qsort位于#include<stdlib.h>标准函数库中,但是可以使用头指针#inlcude<algorithms>直接调用快排函数而不用 ...
分类:编程语言   时间:2021-01-18 11:20:41    阅读次数:0
关于cin, cin.get(), getchar(),getline()的字符问题
一、getchar()和cin.get() getchar()会将开头的空格或者回车作为输入 1 #include<iostream> 2 using namespace std; 3 int main(){ 4 char ch1 = getchar(); 5 char ch2 = getchar( ...
分类:其他好文   时间:2021-01-18 11:19:13    阅读次数:0
文件包含——伪协议
伪协议常常用于文件包含漏洞之中。 在php中能够造成文件包含的函数有include、require、include_once、require_once、highlight_file、show_source、file_get_contents、fopen、file、readfile 0x01 函数 1 ...
分类:其他好文   时间:2021-01-18 11:07:57    阅读次数:0
C++对二维数组、结构体之类的排序
对结构体排序 ''' #include<iostream> #include<algorithm> using namespace std; const int si= 101; struct segment { int l, r; bool operator < (const segment v) ...
分类:编程语言   时间:2021-01-18 11:05:01    阅读次数:0
84546条   上一页 1 ... 82 83 84 85 86 ... 8455 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!