- 博客(5)
- 收藏
- 关注
原创 插入排序
#include int main() { int a[5]; int i,j,temp; for(i=0;i scanf("%d",&a[i]); for(i=1;i { temp=a[i]; for(j=i-1;temp=0;j--) { a[
2017-12-28 17:04:03 121
原创 Sticks (dfs经典剪枝)
George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to the original state, but he forgot how many sticks he had orig
2017-12-08 17:13:36 2579
原创 Hacker, pack your bags!
It's well known that the best way to distract from something is to do one's favourite thing. Job is such a thing for Leha. So the hacker began to work hard in order to get rid of boredom. It means th
2017-12-08 16:58:40 366 1
原创 Spreadsheets(进制转化)(sscanf的使用)
In the popular spreadsheets systems (for example, in Excel) the following numeration of columns is used. The first column has number A, the second — number B, etc. till column 26 that is marked by Z.
2017-12-04 21:55:13 460
原创 Fox And Two Dots
Fox Ciel is playing a mobile puzzle game called "Two Dots". The basic levels are played on a board of size n × m cells, like this: Each cell contains a dot that has some color. We will use diffe
2017-12-04 21:34:37 246
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人