摘要: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=59每输入一个句子,将不被忽略的词(not to ignore)及其所在位置保存下来,然后对所有这样的词排序,输出即可。# include # include # include # include int n, m;char ignored[55][15];char s[205][1005];int wn;char words[2005][25];int pr[2005];int 阅读全文
posted @ 2013-10-28 12:13 努力变瘦 阅读(195) 评论(0) 推荐(0) 编辑
摘要: http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1135有点繁琐,2A。按照题目描述的排序即可。# include # include # include # include struct team{ char name[35]; char mname[35]; int played_games; int points; int wins; int ties; int loses; int goals; ... 阅读全文
posted @ 2013-10-28 12:10 努力变瘦 阅读(245) 评论(0) 推荐(0) 编辑