题目链接: "HDU 1847" Problem Description 大学英语四级考试就要来临了,你是不是在紧张的复习?也许紧张得连短学期的ACM都没工夫练习了,反正我知道的Kiki和Cici都是如此。当然,作为在考场浸润了十几载的当代大学生,Kiki和Cici更懂得考前的放松,所谓“张弛有道” ...
分类:
其他好文 时间:
2019-10-07 23:43:17
阅读次数:
122
>>> f2 = open('/tmp/test.txt','r+') >>> f2.read() 'hello girl!' >>> f2.write('\nhello boy!') >>> f2.close() hello girl! hello boy! 可以看到,如果在写之前先读取一下文件, ...
分类:
编程语言 时间:
2019-10-05 20:03:45
阅读次数:
84
传送门 C.New Year and Rating(思维) ?题意 定义 rating 分两类: ①$Div\ 1\ :\ rating \ge 1900$ ②$Div\ 2\ :\ rating < 1900$ Limak 共参加了 n 场比赛,每场比赛给出两个信息,第 i 场比赛: (1)ci ...
分类:
其他好文 时间:
2019-10-05 10:46:47
阅读次数:
55
Let's call (yet again) a string good if its length is even, and every character in odd position of this string is different from the next character (t ...
分类:
其他好文 时间:
2019-10-04 11:09:08
阅读次数:
90
Acm is a clever boy, and he developed a new game form the old Stone-Forfex-Cloth game. In this game, a number of children sit in a circle, each one sh ...
分类:
其他好文 时间:
2019-10-02 10:47:20
阅读次数:
96
#include <bits/stdc++.h> using namespace std; typedef long long ll; /* 给你一个字符串只有0和1,问你有多少个子串满足长度等于该子串的二进数值 开始我不知道如何暴力,后来想直接借助前面求得二进制值来往下求 但是还是不可以,tle ... ...
分类:
其他好文 时间:
2019-10-02 00:54:54
阅读次数:
99
hbase的操作命令 https://www.cnblogs.com/lzh-boy/p/8966826.html code:查看表数据 from pyspark.sql import SparkSessionimport osos.environ['PYSPARK_PYTHON']='/opt/a ...
分类:
其他好文 时间:
2019-09-29 18:20:50
阅读次数:
110
Traverse an expression tree and extract parameters I think as you've said that using ExpressionVisitor works out to be a good approach. You don't need ...
分类:
其他好文 时间:
2019-09-24 19:21:37
阅读次数:
119
Put simply, the Justice card represents justice, fairness, truth and the law. You are being called to account for your actions and will be judged acco ...
分类:
其他好文 时间:
2019-09-22 10:31:02
阅读次数:
105
PR: Pull Request. 拉取请求,给其他项目提交代码 LGTM: Looks Good To Me. 看起来不错,代码已 review,可以合并 SGTM: Sounds Good To Me. 和上面那句意思差不多 WIP: Work In Progress. 若你有个改动很大 PR, ...
分类:
其他好文 时间:
2019-09-21 16:53:57
阅读次数:
163