自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 清澄A1052-数的读法

【问题描述】给定一个阿拉伯数字串,你帮他按照中文读写的规范转为汉语拼音字串,相邻的两个音节用一个空格符格开。【

2014-08-17 01:18:26 836

原创 UVa 401 - Palindromes

【问题描述】判断字符串是否回文或者“镜像”。

2014-06-13 00:07:27 493

原创 UVa 457 - Linear Cellular Automata

13583110457Linear Cellular AutomataAcceptedANSI C0.0122014-05-03 21:48:27

2014-05-03 22:00:50 619

原创 UVa 694 - The Collatz Sequence

13582659694The Collatz SequenceAcceptedANSI C0.0352014-05-03 11:59:05

2014-05-03 20:11:58 485

原创 UVa 488 - Triangle Wave

13524184488Triangle WaveAcceptedANSI C0.3452014-04-20 13:25:25【问题描述】输出所要求的“三角形波”。

2014-04-20 21:34:10 669

原创 UVa 445 - Marvelous Mazes

#include#includeint main(){ char c; int num=0,i; while((c=getchar())!=EOF){ if(isdigit(c)) num+=c-48; else if(isalpha(c)||c=='*'){ if(c!='b') for(i=1;i<=num;i++) putchar(c);

2014-04-20 18:31:16 590

原创 UVa 490 - Rotating Sentences

#include#include#define MAXN 100+10char s[MAXN][MAXN];int main(){ int n=0,i,j,maxl=0; memset(s,' ',sizeof(s)); while(fgets(s[n++],MAXN,stdin)) if(strlen(s[n-1])>maxl) maxl=strlen(s[n-1]);

2014-04-20 13:41:40 730

原创 UVa 414 - Machined Surfaces

13520498414Machined SurfacesAcceptedANSI C0.0092014-04-19 15:52:55#include#includeint main(){ int n; while(scanf("%d",&n)==1){ int i,j,num[n],sum=0,max=-1;

2014-04-19 23:57:50 561

原创 UVa 494 - Kindergarten Counting Game

13518357494Kindergarten Counting GameAcceptedANSI C0.0092014-04-19 05:48:16

2014-04-19 13:57:53 701

原创 UVa 458 - The Decoder

【#include int main(){ char c; while((c=getchar())!=EOF) if(c=='\n') printf("\n"); else printf("%c",c-7); return 0;}

2014-04-15 21:29:21 847

原创 UVa 10300 - Ecological Premium

#includeint main(){ int n,f; scanf("%d",&n); while(scanf("%d",&f)==1){ int i,a,b,c,sum=0; for(i=1;i<=f;i++){ scanf("%d%d%d",&a,&b,&c); sum+=a*c; } printf("%d\n",sum); } return 0;

2014-04-14 23:36:30 709

原创 UVa 10071 - Back to High School Physics

【题目描述】身为初三学生的我显然没学过高中物理……于是我

2014-04-14 21:16:33 811

原创 UVa 10055 - Hashmat the Brave Warrior

UVa1349171010055Hashmat the Brave WarriorAcceptedC++0.7452014-04-13 22:49:28

2014-04-13 23:09:08 704

原创 我的笔记

详见https://onedrive.live.com/view.aspx?resid=C86D8FDF290140BE!618&app=OneNote&wdo=2&authkey=!AMS0B0rEg-K7E_0

2014-04-13 18:59:33 810

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除