C
爱吃紫菜汤的懒小猪
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
POJ1008
玛雅历 Time Limit: 1000MSMemory Limit: 10000K Total Submissions: 79842Accepted: 24524 Description 上周末,M.A. Ya教授对古老的玛雅有了一个重大发现。从一个古老的节绳(玛雅人用于记事的工具)中,教授发现玛雅人使用了一个一年有365天的叫做Haab的历法。这个Haab历法拥有19个月,在开始的18个原创 2017-11-07 21:12:01 · 281 阅读 · 0 评论 -
POJ 1012 约瑟夫问题
Joseph Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 55108 Accepted: 21067Description The Joseph’s problem is notoriously known. For those who are not familiar with the original probl原创 2017-11-09 10:26:55 · 352 阅读 · 0 评论 -
POJ3070
Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16579 Accepted: 11613 Description In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = F原创 2017-11-02 01:20:15 · 303 阅读 · 0 评论 -
nlogn排序-快速排序
超级经典排序算法 //快排#include<stdio.h> void swap(int *a,int i,int j) { int temp; temp=a[i]; a[i]=a[j]; a[j]=temp; } void quicksort(int *a,int left,int right) { int i=0; int p,q; int tmp; if(left>right) r原创 2017-11-05 00:19:33 · 305 阅读 · 0 评论 -
POJ1007
Description One measure of unsortedness'' in a sequence is the number of pairs of entries that are out of order with respect to each other. For instance, in the letter sequenceDAABEC”, this measure is原创 2017-11-06 13:07:33 · 348 阅读 · 0 评论 -
POJ 1423 斯特林公式
Big Number Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 28667 Accepted: 9106 Description In many applications very large integers numbers are required. Some of these applications a原创 2018-01-27 10:44:56 · 283 阅读 · 0 评论
分享