码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
H 1022 Train Problem Ⅰ
题意:给我们两个序列,看能否通过压栈,出栈将第一个序列转换成第二个。思路:将序列 1 依次压栈,同时看是否和序列 2 当前元素相同代码如下:#include#include#define max 100using namespace std;int main(){ stacks; int...
分类:其他好文   时间:2014-05-17 01:47:36    阅读次数:218
学习ASP 文件引用常识
ASP 文件引用 Previous Page Next Page #include 命令用于在多重页面上创建需重复使用的函数、页眉、 页脚或者其他元素等。 #include 命令 通过使用 #include 命令,我们可以在服务器执行 ASP 文件之前,把另一个ASP文件插入 这个文件...
分类:Web程序   时间:2014-05-17 01:04:00    阅读次数:292
hust 1074
这是错误程序#include#include#include#include#include#includeusing namespace std;mapcow;int main(){ //freopen("in.txt","r",stdin); char str[1000],name[...
分类:其他好文   时间:2014-05-17 00:59:53    阅读次数:266
Cable master (POJ No.1064)
二分搜索思想:bool C(double x)可以得到长度为x的绳子//#define LOCAL#include#includeint const MAX_N=10005;int const MAX_M=100;double const INF=100000000;int N,K;double d...
分类:其他好文   时间:2014-05-17 00:13:44    阅读次数:271
include和require的区别
细节决定成败!1.引用文件方式对include()来说,在include()执行时文件每次都要进行读取和评估;而对于require()来说,文件只处理一次(实际上,文件内容替换了require()语句)。这就意味着如果有包含这些指令之一的代码和可能执行多次的代码,则使用require()效率比较高。...
分类:其他好文   时间:2014-05-16 22:49:30    阅读次数:338
杭电2014
1 #include 2 #include 3 using namespace std; 4 5 int main() 6 { 7 int n; 8 double max,min,sum,aver; 9 double a[110] = {0};10 while...
分类:其他好文   时间:2014-05-16 22:47:35    阅读次数:452
杭电 2012
1 #include 2 3 using namespace std; 4 5 int is_prime(int ); 6 int main() 7 { 8 int x,y,val; 9 while (cin>>x>>y && x||y)10 {11 ...
分类:其他好文   时间:2014-05-16 22:43:26    阅读次数:335
C++ DLL 获取 MSI Property
VS2010 创建 C++, Win32 DLL工程C-TEST。Stdafx.h中,在之后 添加引用。#include #include C-TEST.cpp// C-TEST.cpp : Defines the exported functions for the DLL application...
分类:编程语言   时间:2014-05-16 18:34:22    阅读次数:408
JSP指令和JSP动作
JSP指令和JSP动作一、JSP page指令在JSP中,主要有3种类型的指令:page、include、taglib。page指令允许我们通过类的导入、serlvet超类的定制、内容类型的设置、以及诸如此类的事物来控制servlet的结构。page指令可以放在文档中任何地方,可以定义下面这些大小写...
分类:Web程序   时间:2014-05-16 09:45:34    阅读次数:278
杭电2019
1 #include 2 using namespace std; 3 4 int main() 5 { 6 int a[110] = {0};//已经排好的 7 int n,m; 8 while (cin>>n>>m && n||m) 9 {10 ...
分类:其他好文   时间:2014-05-14 09:43:38    阅读次数:407
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!