摘要:
The rule is simple. First determin the number of rows to print, then for every row follow the rule.Total rows = 2n + 1.The ith row has 2i + 1 digits to print, from 0 to i then to 0.The ith row skip 2n - 2i spaces.Accepted.#include <stdio.h>#include <string.h>int main() { int n; scanf(&qu 阅读全文
posted @ 2011-10-09 10:09
DOF_KL
阅读(293)
评论(0)
推荐(0)
浙公网安备 33010602011771号