摘要: 题目链接:http://poj.org/problem?id=1102模拟液晶显示屏注意:1. 最好用数组接收n,避免001这种只输出1的情况2.每位数字后都有空格,不必考虑去掉最后一位的空格,否则PE我将数整体分成了五段代码如下:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>;int main(int argc, char** argv) { int n,i,d,j,j1,i1; char a[20]; int b1[10]={1,0,1,1,0 阅读全文
posted @ 2012-03-11 13:11 枫月寒 阅读(233) 评论(0) 推荐(0) 编辑