摘要: 题目 :http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=98&page=show_problem&problem=276一开始WA了好多遍后来发现是自己的少了中间为零的判断~#include<stdio.h>#include<string.h>int main(){ char s[1000],o; long a,res[1000]; while(scanf("%s %c %ld",s,&o,&a) 阅读全文
posted @ 2012-07-08 17:41 某某。 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 题目http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=406同样的代码,交了两遍一边AC一边WA。。。很蛋疼= =、、、#include<stdio.h>#include<string.h>#include<math.h>#include<stdlib.h>int main(){ char a[3000],b[3000],o; double max = 2147483647; doub 阅读全文
posted @ 2012-07-08 00:03 某某。 阅读(263) 评论(0) 推荐(0) 编辑