自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 UVa10340 ALL IN ALL AC

#include "stdio.h"#include "string.h"char a[100000],c;void main(){ while (scanf("%s%*c",a)!=EOF) { int i=0; memset(a,0,sizeof(a)); while(scanf("%c",&c)&&c-10)///尽量不要让scanf去读回车 { if(c=

2017-05-24 23:47:42 206

原创 UVa1368 DNA Consensus string AC

#include "stdio.h"#include "string.h"#include "stdlib.h"#define MAX(a, b) ((a)>(b)?(a):(b))int main(){ int T,m,n,Hamming=0,ACGTMAX=0; char s[50][1000],ACGT[4]; scanf("%d",&T); while (T--) {

2017-05-20 23:55:16 254

原创 UVa232 Crossword Answers AC

输入一开始使用while (gets(rc)) { if(rc[0]=='0') break; n=1; xingnum=0; memset(s,0,sizeof(s)); memset(num,0,sizeof(num)); r=rc[0]-'0';//行数 c=rc[2]-'0';但是这样不会被AC,会出现running error可能gets

2017-05-19 16:06:44 255

原创 UVa 227 Puzzle AC

#include "stdio.h"#include "string.h"#include "stdlib.h"#include "ctype.h"#define maxn 85#define swap(a,b) a^=b^=a^=bint main(){ int T,n;  int count=0; char s[5][5]; char c; in

2017-05-18 13:01:39 181

空空如也

空空如也

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

TA关注的人

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