Arduino传感器连载之温度测量篇 来源:http://www.hzhike.com/School/2016/201607/20160711100131.html 来源:http://www.hzhike.com/School/2016/201607/20160711100131.html 温度是 ...
分类:
其他好文 时间:
2016-08-02 08:53:40
阅读次数:
831
题意:先给定5个数,n, k, p, x, y。分别表示 一共有 n 个成绩,并且已经给定了 k 个,每门成绩 大于0 小于等于p,成绩总和小于等于x, 但中位数大于等于y。让你找出另外的n-k个成绩。 析:利用贪心算法,首先是只能小于等于 p,也就是成绩越小越好, 然后中位数还得大于等于y,所以我 ...
分类:
其他好文 时间:
2016-07-25 09:26:53
阅读次数:
112
Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Description Little Vova studies programming in an elite school. Vova and his cla ...
分类:
其他好文 时间:
2016-07-22 21:00:17
阅读次数:
145
Description zichen has just come back school from the 30th ACM/ ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handin ...
分类:
其他好文 时间:
2016-07-22 18:47:37
阅读次数:
133
C - Area Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Description Jerry, a middle school student, addicts himself to m ...
分类:
其他好文 时间:
2016-07-22 14:39:06
阅读次数:
256
Record my tangle of learning English in reverse order. 1. wish I wish we were not going to school tomorrow. I wish he was/were about to leave. If ...w ...
分类:
其他好文 时间:
2016-07-20 21:15:09
阅读次数:
137
A表字段更新为B表的字段值 T1表 结构 id name school 1 ming1 清华大学 2 ming2 北京大学 3 ming3 复旦大学 T2表 结构 id student school 11 ming1 牛津大学 12 ming3 剑桥大学 T1表的name 和 T2表的 studen ...
分类:
其他好文 时间:
2016-07-20 11:46:37
阅读次数:
224
一、Π (Pi) March 14 marks Pi Day, the holiday commemorating the mathematical constant π (pi), written numerically as 3.141592+. Since mathematic notatio ...
分类:
其他好文 时间:
2016-07-17 12:16:10
阅读次数:
3792
//main_client.cpp
#include"udp_client.h"
udp_client_cl;
udp_dataud;
string_name;
string_school;
void*draw_header(void*arg)
{
chat_window*_win=(chat_window*)arg;
_win->create_header();
string_line="HELLOWORLD";
int_max_y;
int_max_x;
getmaxyx(_win->head..
分类:
其他好文 时间:
2016-07-11 01:31:52
阅读次数:
196
Description Arya has n opponents in the school. Each day he will fight with all opponents who are present this day. His opponents have some fighting p ...
分类:
其他好文 时间:
2016-07-09 16:27:30
阅读次数:
138