2013年6月1日
摘要: http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=2174&cid=1174第一种方法,用if else进行麻烦的判断。。。 1 #include<stdio.h> 2 #include<string.h> 3 int main() 4 { 5 char ch[7] ; 6 while(~scanf("%s",ch)) 7 { 8 int a = 10*(ch[0]-'0')+(ch[1] - '0') ; 9 int b = 10*(ch[1]-'0& 阅读全文
posted @ 2013-06-01 20:34 枫、 阅读(218) 评论(0) 推荐(0)
摘要: 题目描述Cainiao is a university student who loves ACM contest very much. It is a festival for him once when he attends ACM Asia Regional Contest because he always can find some famous ACMers there.Cainiao attended Asia Regional Contest Fuzhou Site on November 20, 2011. After he got seat map, he wanted t 阅读全文
posted @ 2013-06-01 16:21 枫、 阅读(195) 评论(0) 推荐(0)