![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
第一篇.基本能力的编程实验
文章平均质量分 81
左阳暖
这个作者很懒,什么都没留下…
展开
-
POJ 1004 Financial Management
#include using namespace std; int main() { double a[15]; double sum=0; int i; for(i=1;i<=12;i++) { cin>>a[i]; sum+=a[i]; } cout<<"$"<<sum/12.0<<endl; }原创 2014-08-06 09:49:31 · 646 阅读 · 0 评论 -
POJ 2136 Vertical Histogram(垂直直方图)
垂直柱状图显示字母出现的频率。原创 2014-07-13 12:14:12 · 1122 阅读 · 1 评论 -
POJ 1005 I Think I Need a Houseboat
I Think I Need a Houseboat Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 86518 Accepted: 37514 Description Fred Mapper is considering purchasing some l原创 2014-08-06 10:20:27 · 589 阅读 · 0 评论 -
POJ 1019 Number Sequence
Description A single positive integer i is given. Write a program to find the digit located in the position i in the sequence of number groups S1S2...Sk. Each group Sk consists of a sequence of pos原创 2014-07-15 11:36:01 · 812 阅读 · 0 评论 -
POJ 1338 Ugly Numbers
Ugly Numbers Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 20294 Accepted: 9018 Description Ugly numbers are numbers whose only prime factors are 2, 3 or原创 2014-07-14 09:44:12 · 1023 阅读 · 2 评论 -
POJ 3006 Dirichlet's Theorem on Arithmetic Progressions
关于素数。原创 2014-08-06 10:41:09 · 785 阅读 · 0 评论 -
POJ 1003 Hangover
Hangover Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 101103 Accepted: 49150 Description How far can you make a stack of cards overhang a table? If yo原创 2014-08-06 09:44:25 · 653 阅读 · 0 评论 -
POJ 3094 Quicksum
Quicksum Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13823 Accepted: 9634 Description A checksum is an algorithm that scans a packet of data and return原创 2014-08-06 10:45:01 · 615 阅读 · 0 评论 -
POJ 1833 排列
Description 题目描述: 大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列出1 2 3,1 3 2,2 1 3,2 3 1,3 1 2,3 2 1六个排列。 任务描述: 给出某个排列,求出这个排列的下k个排列,如果遇到最后一个排列,则下1排列为第1个排列,即排列1 2 3…n。 比如:n = 3,k原创 2014-07-14 19:55:03 · 907 阅读 · 0 评论 -
POJ 2739 Sum of Consecutive Prime Numbers
Sum of Consecutive Prime Numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 19035 Accepted: 10435 Description Some positive integers can be represente原创 2014-08-06 14:39:27 · 822 阅读 · 0 评论 -
POJ 1581 A Contesting Decision
结构体数组= =简单题原创 2014-08-07 16:49:24 · 935 阅读 · 0 评论 -
Ural 1068 sum
A - Sum(1.5.1) Crawling in process... Crawling failed Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Description Your task is to find the sum of all in原创 2014-08-07 09:07:24 · 820 阅读 · 0 评论 -
POJ 3299 Humidex
Humidex Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16610 Accepted: 6041 Description Adapted from Wikipedia, the free encyclopedia The humidex is a me原创 2014-08-06 10:58:15 · 664 阅读 · 0 评论 -
POJ 2196 Specialized Four-Digit Numbers
Specialized Four-Digit Numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7310 Accepted: 5343 Description Find and list all four-digit numbers in deci原创 2014-08-06 10:51:13 · 761 阅读 · 0 评论 -
POJ 1552 Doubles
Doubles Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19093 Accepted: 11027 Description As part of an arithmetic competency program, your students will b原创 2014-08-06 14:16:34 · 588 阅读 · 0 评论