2012年2月21日

POJ 1002 487-3279

摘要: /* POJ 1002 487-3279*/# include <stdio.h># include <stdlib.h># include <ctype.h>typedef struct TeleNum{ int num; int rpt; struct TeleNum *next;} tel;const int h[] = {2,2,2,3,3,3, 4,4,4,5,5,5, 6,6,6,7,0,7,7, 8,8,8,9,9,9,0 };int ... 阅读全文

posted @ 2012-02-21 17:40 getgoing 阅读(166) 评论(0) 推荐(0) 编辑

POJ 1001 Exponentiation

摘要: 已经找到错误:10 100 330 这样10的倍数转换的不对# include <stdio.h># include <string.h>int main(){ int d, n, e, ans[150]; int i, j, tmp, c; char b[6];// freopen("in.txt", "r", stdin);// freopen("out.txt", "w", stdout); while (scanf("%s%d", b, &e) != EO 阅读全文

posted @ 2012-02-21 11:23 getgoing 阅读(262) 评论(0) 推荐(0) 编辑

导航