TLE csu 1236: 删数游戏
摘要:
直接做,TLE:View Code /* csu 1236 */# include <stdio.h># include <string.h># define MAXN 2001void del(char *s, int len){ int i; i = 1; while (i < len && s[i-1]<=s[i]) ++i; while (i < len) { s[i-1] = s[i]; ++i; } s[i-1] = '\0';}int main(){ int len, i, S; c... 阅读全文
posted @ 2012-02-26 16:43 getgoing 阅读(274) 评论(0) 推荐(0) 编辑