摘要: #include #include #include int main(void) { int stage; int a, b, c; int x; int n; clock_t start, end; srand(t... 阅读全文
posted @ 2019-06-17 01:13 anobscureretreat 阅读(248) 评论(0) 推荐(0)
摘要: demo1 demo2 阅读全文
posted @ 2019-06-17 00:54 anobscureretreat 阅读(282) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:46 anobscureretreat 阅读(273) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:43 anobscureretreat 阅读(210) 评论(0) 推荐(0)
摘要: /*--- 等待x毫秒 ---*/ int sleep(unsigned long x) { clock_t c1 = clock(), c2; do { if ((c2 = clock()) == (clock_t)-1) /* 错误 */ return 0; } while (1000.0 * (c2 - c1) /... 阅读全文
posted @ 2019-06-17 00:39 anobscureretreat 阅读(1980) 评论(0) 推荐(0)
摘要: /* 回车符\r的使用示例:重写行 */ #include #include /*--- 等待x毫秒 ---*/ int sleep(unsigned long x) { clock_t c1 = clock(), c2; do { if ((c2 = clock()) == (clock_t)-1) /* 错误 */ ... 阅读全文
posted @ 2019-06-17 00:38 anobscureretreat 阅读(328) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:31 anobscureretreat 阅读(18836) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:26 anobscureretreat 阅读(570) 评论(1) 推荐(0)
摘要: #include #include #include int sleep(unsigned long x) { clock_t c1 = clock(), c2; do { if ((c2 = clock()) == (clock_t)-1) return 0; } while (1000.0 * (c2 - c... 阅读全文
posted @ 2019-06-17 00:24 anobscureretreat 阅读(376) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:12 anobscureretreat 阅读(262) 评论(0) 推荐(0)
摘要: 输出 阅读全文
posted @ 2019-06-17 00:02 anobscureretreat 阅读(352) 评论(0) 推荐(0)