自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(83)
  • 收藏
  • 关注

原创 BugkuCTF-web-本地包含

1、从题目看出来,应该是本地文件包含攻击(程序员建站时为了方便,在脚本中调用了本地的文件,我们可以利用这个漏洞,调用我们想要的文件)2、代码如下所示:<?php include "flag.php"; $a = @$_REQUEST['hello']; eval("var_dump($a);"); show_source(__FILE__);?&...

2018-09-23 11:53:50 3716

转载 解题报告_18.6.2_POJ_1496_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648501#include<iostream> #include<string> using namespace std; int c[27][27]={0}; /*打表,利用杨辉三角计算每一个组合数nCm*/ void p...

2018-06-02 21:59:13 351

转载 解题报告_18.6.2_POJ_1850_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648492#include<iostream> #include<string> using namespace std; int c[27][27]={0}; /*打表,利用杨辉三角计算每一个组合数nCm*/ void p...

2018-06-02 21:58:42 128

转载 解题报告_18.6.2_POJ_3252_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648458#include<iostream> using namespace std; int c[33][33]={0}; int bin[35]; //十进制n的二进制数 /*打表,计算nCm*/ void play_table...

2018-06-02 21:57:50 160

转载 解题报告_18.6.1_POJ_3258_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648558#include<iostream> #include<algorithm> using namespace std; int main(void) { int L; //河总长 int n; //河中...

2018-06-01 22:44:25 79

转载 解题报告_18.6.1_POJ_1905_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648562#include<iostream> #include<math.h> #include<iomanip> using namespace std; const double esp=1e-5; //最低精度限制 ...

2018-06-01 22:43:11 89

转载 解题报告_18.6.1_POJ_3122_0

转载:https://blog.csdn.net/lyy289065406/article/details/6648565#include<iostream> #include<iomanip> using namespace std; const double pi=3.14159265359; //百度搜pi就有了,我逐位提交,这是最短的pi长度,再短...

2018-06-01 22:42:05 110

转载 解题报告_18.5.31_POJ_2389_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6645490#include<iostream> #include<string> using namespace std; const int size=1000; //大数位数 void mult(char* A,char* B,...

2018-05-31 23:15:40 300

转载 解题报告_18.5.31_POJ_2109_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6642602#include <math.h> #include <iostream> using namespace std; int main(void) { double n , p; while(cin >&...

2018-05-31 23:15:06 125

转载 解题报告_18.5.31_POJ_1503_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6645487#include<iostream> #include<cstring> using namespace std; const int large=1000; char sum_temp[large]; char digit_...

2018-05-31 23:14:22 122

转载 解题报告_18.5.30_POJ__0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648650#include<iostream> #include<iomanip> using namespace std; int word=0; //单词数 int sentance=0; //句子数 int syllabl...

2018-05-30 20:41:24 107

转载 解题报告_18.5.30_POJ_1472_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648640#include<iostream> using namespace std; /*字符串转数字*/ int StrToNum(char* s) { int digit=0; for(int i=0;s[i];i++)...

2018-05-30 20:40:49 100

转载 解题报告_18.5.30_POJ_3393_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648634#include<iostream> using namespace std; int Month[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; //平年月 int Lmonth[13]={0,31...

2018-05-30 20:39:58 126

转载 解题报告_18.5.29_POJ_1260_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648131#include<iostream> using namespace std; int min(int a,int b) { return a<b?a:b; } int main(int i,int j) { ...

2018-05-29 20:14:19 91

转载 解题报告_18.5.29_POJ_2533_O(n*logn)_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648136#include<iostream> using namespace std; const int inf=10001; int binary_search(int ord[],int digit,int length) //二分法搜索dig...

2018-05-29 20:13:11 151

转载 解题报告_18.5.29_POJ_2533_O(n^2)_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648136#include<iostream> using namespace std; int main(int i,int j) { int n; while(cin>>n) { in...

2018-05-29 20:12:24 106

转载 解题报告_18.5.28_POJ_1163_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648153#include<iostream> using namespace std; int max(int a,int b) { return a>b?a:b; } int main(int i,int j) { ...

2018-05-28 22:56:09 131

转载 解题报告_18.5.28_POJ_1015_9

转载自:https://blog.csdn.net/lyy289065406/article/details/6671105#include<iostream> #include<cmath> #include<algorithm> using namespace std; int n; //候选人数 int m; //当选人数 ...

2018-05-28 22:55:04 87

原创 解题报告_18.5.28_NEUOJ_1377

五月份校赛自己过得唯一一道题目#include<iostream>#include<cstdio>using namespace std;long long f(long long n) { long long ans = 0; while(n) { ans += (n%10) * (n%10); n /= 10; } return ans;}in...

2018-05-28 22:00:15 81

原创 解题报告_18/5/27_NEUOJ_0

学长还没有把题挂上去,等过几天挂上去了,再补答案和题号

2018-05-27 23:04:20 83

转载 解题报告_18/5/27_POJ_1068_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6645420#include<iostream> using namespace std; int main(void) { int p[21]={0}; //使 p[0]=0 int w[20]; int s...

2018-05-27 23:00:25 81

转载 解题报告_18/5/27_POJ_1573_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6645434#include<iostream> using namespace std; int main(void) { int row,col,entry; char grid[12][12]; //在规定大小的grid...

2018-05-27 22:59:25 100

转载 解题报告_18.5.26_POJ_2676_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6647977#include<iostream> using namespace std; int map[10][10]; //九宫格 bool row[10][10]; //row[i][x] 标记在第i行中数字x是否出现了 bool ...

2018-05-26 22:58:48 61

转载 解题报告_18.5.26_POJ_2676_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6647977#include<iostream> using namespace std; int map[10][10]; //九宫格 bool row[10][10]; //row[i][x] 标记在第i行中数字x是否出现了 bool ...

2018-05-26 22:14:28 102

转载 解题报告_18.5.26_POJ_1039_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648585#include<iostream> #include<cmath> #include<iomanip> using namespace std; const double precision=1e-3; //精度...

2018-05-26 21:59:49 359

转载 解题报告_18.5.26_POJ_2031_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648583#include<iostream> #include<cmath> #include<iomanip> using namespace std; const double inf=1000.0; const do...

2018-05-26 21:57:42 109

转载 解题报告_18.5.25_POJ__0

转载自:https://blog.csdn.net/lyy289065406/article/details/6661449#include<iostream> using namespace std; int n[7]; //价值为i的物品的个数 int SumValue; //物品总价值 int HalfValue; //物品平分价值 bool fl...

2018-05-25 23:35:19 97

转载 解题报告_18.5.25_POJ_1276_0

转载:https://blog.csdn.net/lyy289065406/article/details/6648102#include<iostream> using namespace std; int main(int i,int j) { int N; //物品种数(面额种数) int cash; //背包容量(最大可取金...

2018-05-25 23:34:04 91

转载 解题报告_18.5.25_POJ_1837_0

转载:https://blog.csdn.net/lyy289065406/article/details/6648094 #include<iostream> using namespace std; int dp[21][15001]; //状态数组dp[i][j] //放入(挂上)前i个物品(钩码)后,达到j状态...

2018-05-25 23:33:04 116

转载 解题报告_18.5.24_POJ_1804_0

转载:https://blog.csdn.net/lyy289065406/article/details/6647336#include<iostream> using namespace std; const int inf=1000001; int t; //数字序列s[]的逆序数 void compute_t(int* s,int top,int ...

2018-05-24 21:45:05 120

转载 解题报告_18.5.24_POJ_2388

转载:https://blog.csdn.net/lyy289065406/article/details/6647318#include<iostream>#include<iomanip>#include<algorithm>using namespace std;int main(void){ int n; while(cin>&gt...

2018-05-24 21:31:14 121

转载 解题报告_18.5.24_POJ_1007_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6647305#include<iostream> #include<algorithm> using namespace std; typedef class dna { public: int num; /...

2018-05-24 21:25:29 82

转载 解题报告_18.5.23_POJ_1017_0

#include<iostream> using namespace std; int max(int a,int b) { return a>b?a:b; } int main(void) { int s1,s2,s3,s4,s5,s6; //6种size的盒子数量 while(cin>&g...

2018-05-23 21:08:51 96

转载 解题报告_18.5.23_POJ_2635_0

#include<iostream> #include<string.h> using namespace std; const int Range=1000100; //打表不能只打到100W,素数表中最大的素数必须大于10^6 int Kt[10000]; //千进制的K int L; int prime[Range+1]; ...

2018-05-23 21:08:10 96

转载 解题报告_18.5.23_POJ_3292_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648537#include<iostream> using namespace std; const int size=1000001; int H_Number[size+1]; /*筛法打表*/ void Table(void) ...

2018-05-23 21:07:32 79

转载 解题报告_18.5.22_POJ_1009_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6648671#include<iostream> #include<cmath> #include<algorithm> using namespace std; const int size=1000; //每幅图片的pair...

2018-05-22 20:17:13 95

转载 解题报告_18.5.22_POJ_2251_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6647938#include<iostream> using namespace std; typedef class { public: int l,r,c; int depth; //树深(分钟) ...

2018-05-22 20:15:39 95

转载 解题报告_18.5.22_POJ_3126_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6647922#include<iostream> using namespace std; typedef class { public: int prime; int step; }number; ...

2018-05-22 20:13:03 89

转载 解题报告_18.5.21_POJ_1258_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6645982#include<iostream> using namespace std; const int inf=100001; //无限大 int n; //农场数量 int dist[101][101]; int ...

2018-05-21 23:32:55 80

转载 解题报告_18.5.21_POJ_2586_0

转载自:https://blog.csdn.net/lyy289065406/article/details/6642603#include <iostream> using namespace std; int main(void) { int s, d; while(cin >> s >> d) { ...

2018-05-21 23:30:35 88

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除