Description There were n types of swords in the theater basement which had been used during the plays. Moreover there were exactly x swords of each ty ...
分类:
其他好文 时间:
2019-09-22 01:45:09
阅读次数:
102
A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement mu ...
分类:
其他好文 时间:
2019-09-21 23:33:05
阅读次数:
100
#include <iostream>using namespace std;//基类Peopleclass People{public: People(char *name, int age); void display();protected: char *m_name; int m_age;} ...
分类:
编程语言 时间:
2019-09-21 21:17:55
阅读次数:
90
Population zoj 3018 "题目链接" Population Time Limit: 10000 msMemory Limit: 32768 KB It is always exciting to see people settling in a new continent. As t ...
分类:
其他好文 时间:
2019-09-18 11:18:45
阅读次数:
101
链接: https://vjudge.net/problem/Gym 100741A 题意: Mathematicians are interesting (sometimes, I would say, even crazy) people. For example, my friend, a m ...
分类:
编程语言 时间:
2019-09-16 16:30:08
阅读次数:
135
题目标签:Math 题目让我们分发糖果,分的糖果从1 开始依次增加,直到分完。 for loop可以计数糖果的数量,直到糖果发完。但是还是要遍历array 给people 发糖,这里要用到 index = (本轮分糖果的量 % people 的人数)糖果的数量从0 开始计数,这样的话,index 就 ...
分类:
其他好文 时间:
2019-09-16 10:28:44
阅读次数:
102
Why successful people don’t use to-do lists by Aytekin Tank Why successful people don’t use to-do lists by Aytekin Tank by Aytekin Tank by Aytekin Tan ...
分类:
其他好文 时间:
2019-09-15 10:28:49
阅读次数:
164
程序算法与人生选择 我用算法来类比如何做选择,说白了就是怎么去计算,但是并没有讲程序员可以发展的方向有哪些。 所以,就算是有这些所谓的方法论,我们可能对自己的发展还是会很纠结和无所事从,尤其是人到了30岁,这种彷徨和迷惑越来越重。虽然我之前也写过一篇《编程年龄和编程技能》的文章,但是还是有很多做技术 ...
分类:
其他好文 时间:
2019-09-15 01:26:43
阅读次数:
143
1.1.1.读取文本数据 spark应用可以监听某一个目录,而web服务在这个目录上实时产生日志文件,这样对于spark应用来说,日志文件就是实时数据 Structured Streaming支持的文件类型有text,csv,json,parquet ●准备工作 在people.json文件输入如下 ...
分类:
其他好文 时间:
2019-09-11 09:27:19
阅读次数:
137