- 博客(18)
- 资源 (1)
- 收藏
- 关注
原创 centos配置静态ip
网卡配置静态iplinux环境:CentOS-7-x86_64-DVD-1804centos安装好以后网卡设置是不自启的,需要手动打开,执行命令cd /etc/sysconfig/network-scripts/ # 该菜单下有一个名为ifcfg-ens33的配置文件vi ./ifcfg-ens33 # 编辑此文件,将其中ONBOOT=no改为yessyst...
2018-06-15 17:59:08 287
原创 java利用post方法请求网络接口
使用Java对网络接口进行调用,代码如下 public class Post { public static final String POST_URL = "https://xxxxxxxxxxxxxxxxx"; public static void httpURLConnectionPOST(String parm) {//parm 你要post的数据 PrintWrit...
2018-01-17 20:24:19 5647
转载 本地jar包导入maven项目
将jar包导入本地maven仓库的方法首先需要在pom.xml中添加依赖: org.springframework spring-core 4.2.3.RELEASE 然后执行maven安装jar包的命令mvn install:install-file -Dfile=jar包在你电脑中的位置 -DgroupId=上面的g
2018-01-09 22:26:48 439
原创 Codeforces Round #362 (Div. 2) B. Barnicle
题目链接:http://codeforces.com/contest/697/problem/BB. Barnicletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
2016-10-22 14:20:31 360
原创 Codeforces Round #362 (Div. 2) A. Pineapple Incident
题目链接:http://codeforces.com/contest/697/problem/AA. Pineapple Incidenttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandar
2016-10-22 14:02:53 417
转载 Memset 初始化问题
本文学习内容转自:http://blog.csdn.NET/wdkirchhoff/article/details/41512271 以及:http://www.cnblogs.com/handsomecui/p/4723949.html首先要知道memset函数是对字节为单位进行赋值的;void *memset(void *s, int ch, size
2016-10-08 12:54:41 578
原创 Codeforces Round #361 (Div. 2) B. Mike and Shortcuts
题目链接:http://codeforces.com/contest/689/problem/BB. Mike and Shortcutstime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstanda
2016-10-08 11:43:01 448
原创 Codeforces Round #361 (Div. 2) A. Mike and Cellphone
题目链接:http://codeforces.com/contest/689/problem/AA. Mike and Cellphonetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandar
2016-07-07 13:02:02 536
原创 Codeforces Round #360 (Div. 2) B. Lovely Palindromes
Codeforces Round #360 (Div. 2) B. Lovely Palindromes Pari has a friend who loves palindrome numbers. A palindrome number is a number that reads the same forward or backward. For example 12321, 100001 and 1 are palindrome numbers, while 112 and 1021 are not
2016-06-30 11:28:31 1125
原创 Codeforces Round #360 (Div. 2) A. Opponents
Codeforces Round #360 (Div. 2) A. OpponentsArya has n opponents in the school. Each day he will fight with all opponents who are present this day. His opponents have some fighting plan that guarantees they will win, but implementing this plan requires pre
2016-06-30 11:20:28 700
原创 Codeforces Round #359 (Div. 2) B. Little Robber Girl's Zoo
Codeforces Round #359 (Div. 2) B. Little Robber Girl's ZooLittle Robber Girl likes to scare animals in her zoo for fun. She decided to arrange the animals in a row in the order of non-decreasing height. However, the animals were so scared that they couldn
2016-06-24 09:29:45 533
原创 Codeforces Round #359 (Div. 2) A. Free Ice Cream
Codeforces Round #359 (Div. 2) A. Free Ice CreamAfter their adventure with the magic mirror Kay and Gerda have returned home and sometimes give free ice cream to kids in the summer.At the start of the day they have x ice cream packs. Since the ice cream
2016-06-24 09:00:47 574
原创 Codeforces Round #358 (Div. 2) B. Alyona and Mex
Someone gave Alyona an array containing n positive integers a1, a2, ..., an. In one operation, Alyona can choose any element of the array and decrease it, i.e. replace with any positive integer that is smaller than the current one. Alyona can repeat this o
2016-06-18 07:41:12 948
原创 Codeforces Round #358 (Div. 2) A. Alyona and Numbers
Codeforces Round #358 (Div. 2) A. Alyona and NumbersAfter finishing eating her bun, Alyona came up with two integers n and m. She decided to write down two columns of integers — the first column containing integers from 1 to n and the second containing in
2016-06-18 07:25:10 929
原创 Codeforces Round #357 (Div. 2) B. Economy Game
Codeforces Round #357 (Div. 2) B. Economy GameKolya is developing an economy simulator game. His most favourite part of the development process is in-game testing. Once he was entertained by the testing so much, that he found out his game-coin score becom
2016-06-15 10:38:18 687
原创 Codeforces Round #357 (Div. 2) A. A Good Contest
Codeforces Round #357 (Div. 2) A. A Good ContestCodeforces user' handle color depends on his rating — it is red if his rating is greater or equal to 2400; it is orange if his rating is less than 2400 but greater or equal to 2200, etc. Each time participan
2016-06-15 10:16:46 464
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人