摘要: 1 #include<stdio.h> 2 #include<string.h> 3 #include<stdlib.h> 4 char str[1005]; 5 int start; 6 char s[50],ss[50];int i,j; 7 double Term();double Expression();double Factor(); 8 double Term() 9 { 10 double f=Factor(),t; 11 --start; 12 if(str[start]=='*') 13 { ... 阅读全文
posted @ 2013-04-06 17:00 萧凡客 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 #include<queue> 3 #include<string.h> 4 using namespace std; 5 6 int c[2][3]; 7 int v[100][100]; 8 typedef struct 9 {10 int vis[3];11 int deep;12 }node;13 14 int fun()15 {16 int i,j,at;17 queue <node> q;18 node n,t;19 memset(v,0,sizeof(v));20 n.vis... 阅读全文
posted @ 2013-04-06 16:30 萧凡客 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Office办公软件考试试题题目课程名称Office 办公自动化(XHKC-ZY-002)题型单选题题目在选定了整个表格之后,若要删除整个表格中的内容,以下哪个操作正确( )选择A单击“表格”菜单中的“删除表格”命令选择B按Delete键选择C按Space键选择D按Esc键答案B题目艺术字对象实际上是( )选择A文字对象选择B图形对象选择C链接对象选择D既是文字对象,也是图形对象答案B题目在Excel 2003 中,进行分类汇总之前,我们必须对数据清单进行( )选择A筛选选择B排序选择C建立数据库选择D有效计算答案B题目Word 2003 中对文档分栏后,若要使栏尾平衡,可在最后一栏的栏尾插入 阅读全文
posted @ 2013-04-06 15:24 萧凡客 阅读(10255) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int fun(int n,int p) 4 { 5 int a,t; 6 if(p==0) return 1; 7 if(p==1) return n; 8 a=fun(n,p/2); 9 t=a*a%10003;10 if(p&1)11 t=t*n%10003;12 return t;13 }14 15 int main()16 {17 int n,m,t,i,sum;18 scanf("%d",&t);19 while(t--)20 ... 阅读全文
posted @ 2013-04-06 15:19 萧凡客 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int a[32][32]; 4 int m; 5 6 int fun() 7 { 8 int i,j,k; 9 for(i=0;i<m;i++)10 if(a[i][i]!=0) return 1;11 12 for(i=0;i<m;i++)13 for(j=0;j<m;j++)14 if(i!=j)15 if(a[i][j]<=0) return 2;16 17 for(i=0;i<m;i++)18 ... 阅读全文
posted @ 2013-04-06 11:47 萧凡客 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 3 int a[4][4]; 4 typedef struct 5 { 6 int x; 7 int y; 8 }node; 9 node s[10]; 10 11 void cs()//用来存放数字的结构体,x,y分别是他们的行列坐标 12 { 13 s[0].x=3;s[0].y=1; 14 s[1].x=0;s[1].y=0; 15 s[2].x=0;s[2].y=1; 16 s[3].x=0;s[3].y=2; 17 s[4].x=1;s[4].y=0; 18 ... 阅读全文
posted @ 2013-04-06 11:26 萧凡客 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 #include<algorithm> 3 #include<stdlib.h> 4 using namespace std; 5 6 typedef struct 7 { 8 int x; 9 int y;10 }node;11 12 int fun(int a)13 {14 int t=0;15 while(a)16 {17 t=t*10+a%10;18 a=a/10;19 }20 return t;21 }22 23 int cmp(const nod... 阅读全文
posted @ 2013-04-06 10:36 萧凡客 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 #include<string.h> 3 int a[1000]; 4 5 void fun(int n) 6 { 7 int i,t,v; 8 v=0; 9 for(i=0;i<1000;i++)10 {11 t=a[i]*n+v;12 a[i]=t%10;13 v=t/10;14 }15 }16 17 int main()18 {19 int i,j,n,m;20 scanf("%d",&n);21 while(n--)22 ... 阅读全文
posted @ 2013-04-06 10:35 萧凡客 阅读(303) 评论(0) 推荐(0) 编辑