十一圈开发需要,做一下笔记。声明:爬取的姓名数据库中仅包含学生姓名,性别,在校学号等不涉及学生个人敏感隐私信息的内容。
Continue Reading
My AP Computer Science teacher invited me to take part in this contest. It was really interesting and there were many high quality algorithm problems. The official write up comes up very slow; therefore, I decided to wirte this partial write up, which only contains problem I solved and some problems solved by my teacher.
Continue Reading
本次月赛出题人为:
Yulemao 和 MisakaTao
不知道为什么第二次月赛人莫名其妙地很少,不过题还不错,因此发...
Continue Reading
有时我们需要在loadUrl的时候传输一些http头,在十一活动的开发中,webview中需要传输一个带有Mobile-Avoid-Nav:True的http头来屏蔽显示导航栏。如何实现呢?
Continue Reading
Teacherone is a busy man! He is going to work out for several month. Therefore taking trains is a good choice to travel between some cities. However, there are some conflicts between those transportation companies in those cities. What problem does teachone meets? Let’s help him out!
Continue Reading
Vigenère Code is a sort of encryption method invented by a French cryptologist. It is widely used in The American Civil War. Now you are going to decrypt a sequence of characters, which is encrypted by using this encryption method.
Continue Reading
This post will tell you how to solve a cubic equation by computer programming.
Continue Reading
kkk最近才学会输出语句,非常兴奋,就要输出N行“6”来表达她的兴奋。但是一条一条语句打呢又太慢,所以kkk就想到了——复制&粘贴!
当然一开始kkk会先打出一条输出语句,然后她可以选择复制粘贴。每次kkk可以复制1~t条语句(其中t表示当前的输出语句数)并粘贴。那么kkk最少需要复制几次才能写出N行“6”呢?
Continue Reading
对于高精度加法更加复杂的情况,需要进行诸多分类讨论:
小数+整数
整数+整数
小数+小数
同时还存在进位去零的问题:
进位后无后缀0
进位后存在后缀0但0不全是后缀
小数部分全部是0这个模拟有些小复杂,不过细心一点还是可以1A的。
Continue Reading
Given a 2*4 number matrix, and randomly filled in from 1-8. And there are 3 rules of moving those numbers:(1) swap the first row and the second row;(2) all numbers move to right 1 column(the last column will move to the first column);(3) rotate four numbers which located in the center of the matrix clockwisely.
the Target status is1 2 3 48 7 6 5
What is the number of minimum step?
Continue Reading
Universal Image Loader is a popular graphic library in Android Development, since it maintains lots of useful functions, which are complicated for programmers to manually implement.Universal Image Loader has a feature, it can save cache of pictures that are downloaded from the Internet. But if there are lots of cache in your phone, that will be a tremendous waste of your disk space.
Continue Reading
I added a splash screen to ShiYiQuan-Event today, and I wanted to make it be a full screen activity. However, lots of tutorials on the Internet no longer available. So I tried several times, and finally, succeeded.
Continue Reading
这是一个很有趣的问题,八数码问题。类似于华容道的规则。在九宫格内给定数字1-8的摆放位置,0表示空地,相邻的数字可以移动进入0的位置。给定初始格局,求最少移动多少步可以达到目标状态。
Continue Reading
One day, AD1024 and Neli playing a game, they are using N matches to create equations: X+Y=Z(‘+’ and ‘=’ also created by using matches).But they are too weak to work out every possible conditions, so they decide to ask you for help. You are a battlehardened programmer, so you can solve this problem by using programming.
Continue Reading
In Olympiad Of Mathematics, a problem which require participants to insert ‘+’ or ‘-‘ between two numbers to let the equation correct.For instance:1 2 3 4 5 6 7 8 9=108You can insert ‘+’ or ‘-‘ or nothing between each two numbers. If you leave it empty, numbers between the gap will combine into one number(If I leave blank between 1 and 2 empty, the number is 12). You are required to find the number of total ways, which can let the equation correct.
Continue Reading
百度之星总决赛即是一群编程大牛一决高下的赛场,也是圈内众多网友难得的联欢,在为期一周的聚会中,总少不了各种有趣的游戏。Through this problem, you can know how to use the degree of Directed graph to solve problems.From JSK-OnlineJudge
Continue Reading
A good problem. It requires us to use DFS+Memorization to handle the issue.From Codeforces.
Continue Reading
Given DEC number a,b. Please figure out how many times carry operations will happen.From BNUOJ/北师大程序设计竞赛热身赛第一场
Continue Reading
A simple implementation of radix sort by using 10 Queues.
Continue Reading
This is my work which took part in the “Western Instrument Contest” held b...
Continue Reading
When I was developing the client of Shiyiquan,I met a problem that need to...
Continue Reading
Kruskal is an efficient algorithm to calculate a minium spwan tree(MST).It...
Continue Reading
SPFA is a single source Shortest path algorithm.It is a optimized version ...
Continue Reading
Summer vacation is coming,but I’m not happy at all.Cuz there are lots of t...
Continue Reading