ELK集群配置安装初始化iptables关闭selinux关闭配置hosts解析[root@localhostelasticsearch]#cat/etc/hosts127.0.0.1localhostlocalhost.localdomainlocalhost4localhost4.localdomain4::1localhostlocalhost.localdomainlocalhost6lo
分类:
其他好文 时间:
2020-12-01 11:46:16
阅读次数:
2
题目 题目链接:https://gmoj.net/senior/#main/show/5057 A 君正在玩一款战略游戏,游戏中的规则是这样的: 给定一个 \(n\times m\) 的地图,地图上每一个位置要么是空地,要么是炮塔,要么有若干数量的敌人。现在 A 君要操控炮塔攻击这些敌人。 对于每个 ...
分类:
其他好文 时间:
2020-11-30 16:03:22
阅读次数:
7
###链接 贴一下青君大佬的博客~ #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back #define pi pair<int,int> #define mk make_pair us ...
分类:
其他好文 时间:
2020-11-27 11:15:36
阅读次数:
6
无重复字符的最长子串 输入: "abcabcbb" 输出: 3 解释: 因为无重复字符的最长子串是 "abc",所以其长度为 3。 class Solution { public: int lengthOfLongestSubstring(string s) { int m[256] = {0}; ...
分类:
编程语言 时间:
2020-11-27 11:02:48
阅读次数:
9
测试第一个博客 献上基于C语言的数据结构之线性表 //线性表 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #define MAXSIZE 100 type ...
分类:
其他好文 时间:
2020-11-27 10:59:10
阅读次数:
5
Atcoder Beginner Contest 184 A-Determinant Solution: 输出$ad-bc$ #include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> ...
分类:
其他好文 时间:
2020-11-26 15:23:49
阅读次数:
14
#include<stdio.h> int main(void){ int i,j,sum,allsum; for(j=1;j<=50;j++) {sum=0; for(i=1;i<=j;i++) sum+=i; allsum+=sum; } printf("%d",allsum); return ...
分类:
其他好文 时间:
2020-11-26 15:02:26
阅读次数:
5
源码: <?php show_source(__FILE__); $username = "admin"; $password = "password"; include("flag.php"); $data = isset($_POST['data'])? $_POST['data']: "" ; ...
分类:
Web程序 时间:
2020-11-25 13:04:51
阅读次数:
25
CF div2 #685 C. String Equality 1 6 2 aabbde deeeee 我的想法是直接排序然后模拟加 但是像这一组就炸了 问题在于它加的模拟是从当前最小的起步,这里没有办法保证是不是最小的,本来应该让d加到e,中间两个b一起的,但是这里就成了b单飞了。 WA的代码 # ...
分类:
其他好文 时间:
2020-11-25 12:56:58
阅读次数:
5
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:
其他好文 时间:
2020-11-24 12:14:01
阅读次数:
6