摘要:
#includeint main(){ int n; char xing; scanf("%d %c",&n,&xing); int num=1,i=1; while(1) { num = num + 2 * (i + 2); //一开始就超出,不改变i if...
阅读全文
posted @ 2015-03-07 18:39
Evence
阅读(141)
推荐(0)
编辑
摘要:
#includeint main(){ int n; char xing; scanf("%d %c",&n,&xing); int num=1,i=1; while(1) { num = num + 2 * (i + 2); //一开始就超出,不改变i if...
阅读全文
posted @ 2015-03-07 18:39
Evence
阅读(84)
推荐(0)
编辑
摘要:
#include#include#include#include#includeusing namespace std;char g1[99],g2[99],g3[99],g4[99];char alp[7][5]={"MON","TUE","WED","THU","FRI","SAT","SUN"...
阅读全文
posted @ 2015-03-07 17:20
Evence
阅读(177)
推荐(0)
编辑
摘要:
#includeint main(){ int a,b; scanf("%d%d",&a,&b); int sum=a+b; if(sum=1000000) //【思维】,两个数字在:-1000000 =1000) printf("%d,%03d",sum/1000,...
阅读全文
posted @ 2015-03-07 17:10
Evence
阅读(108)
推荐(0)
编辑