2018年7月25日

C - 极角 CodeForces - 598C (数学)

摘要: C - 极角 CodeForces - 598C You are given the set of vectors on the plane, each of them starting at the origin. Your task is to find a pa... 阅读全文

posted @ 2018-07-25 16:37 一零七 阅读(113) 评论(0) 推荐(0) 编辑

B - Queries about less or equal elements CodeForces - 600B (STL 水题)

摘要: B - Queries about less or equal elements CodeForces - 600B You are given two arrays of integers a and b. For each element of the secon... 阅读全文

posted @ 2018-07-25 16:24 一零七 阅读(113) 评论(0) 推荐(0) 编辑

A - Tricky Sum CodeForces - 598A (推公式)

摘要: A - Tricky Sum CodeForces - 598A In this problem you are to calculate the sum of all integers from 1 to n, but you should take all pow... 阅读全文

posted @ 2018-07-25 16:15 一零七 阅读(104) 评论(0) 推荐(0) 编辑

2018暑假二分&&三分

摘要: Can you find it?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 41136 Acce... 阅读全文

posted @ 2018-07-25 09:39 一零七 阅读(210) 评论(0) 推荐(0) 编辑

2017年12月12日

蓝桥杯选拔F

摘要: 设有一个由 n 个人组成的社团。社团中的每个成员给社团中的一个成员发送一条短信。如果有一个由社团成员组成的子社团,每个子社团中成员恰好收到一条由该子社团成员发送的短信,则称这个子社团为一个和谐子社团。和谐短信问题要求社团的最大和谐子社团。例如,设有一个由 7 个人组成... 阅读全文

posted @ 2017-12-12 21:46 一零七 阅读(88) 评论(0) 推荐(0) 编辑

2017年11月28日

Java入门 简易计算器

摘要: package begin;/* 计算器: 1.显示共两行,上为计算过程,下为计算结果或输入数字 2.可同时实现多个实数的四则运算。 3。运算范围为double。 4.可按钮输入,也可键盘输入。 5.每次只能从最高位向最低位输... 阅读全文

posted @ 2017-11-28 17:28 一零七 阅读(409) 评论(0) 推荐(0) 编辑

2017年8月20日

FZU - 2260 Card Game (单调栈)

摘要: 原题链接:http://acm.fzu.edu.cn/problem.php?pid=2260 Problem 2260 Card Game有如下取牌游戏:1. 桌面上有n张卡牌从左到右排成一行,... 阅读全文

posted @ 2017-08-20 21:38 一零七 阅读(144) 评论(0) 推荐(0) 编辑

2017年8月10日

FZU 2192 位置信息挖掘(并查集)

摘要: http://acm.fzu.edu.cn/problem.php?pid=2192 FZU 2192... 阅读全文

posted @ 2017-08-10 20:17 一零七 阅读(125) 评论(0) 推荐(0) 编辑

2017年7月16日

快速排序qsort,sort函数用法

摘要: 转自:http://www.cnblogs.com/ForeverJoker/archive/2013/05/25/qsort-sort.html略有增改qsort函数、sort函数 (精心整理篇)先说明一下qsort和sort,只能对连续内存的数据进行排序,像链表这... 阅读全文

posted @ 2017-07-16 21:32 一零七 阅读(1995) 评论(0) 推荐(0) 编辑

2017年7月13日

zcmu 1893: String Game

摘要: http://acm.zcmu.edu.cn/JudgeOnline/problem.php?id=18931893: String GameTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 55 Solved: 20[S... 阅读全文

posted @ 2017-07-13 18:23 一零七 阅读(127) 评论(0) 推荐(0) 编辑

导航