摘要: puts()函数 puts()函数用来向标准输出设备(屏幕)写字符串并换行, 其调用格式为: puts(s); 其中s为字符串变量(字符串数组名或字符串指针)。 puts()函数的作用与语printf("%s\n", s)相同。 gets()函数 gets()函数用来从标准输入设备(键盘)读取字符串 阅读全文
posted @ 2017-07-12 22:17 Roni_i 阅读(452) 评论(0) 推荐(0)
摘要: 最近点对 筛法判断素数 贪心算法 前缀和 刷字符串类型题 阅读全文
posted @ 2017-07-12 17:35 Roni_i 阅读(143) 评论(0) 推荐(0)
摘要: B. Black Square time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarp has a checkered 阅读全文
posted @ 2017-07-12 11:08 Roni_i 阅读(271) 评论(0) 推荐(0)
摘要: A. Restaurant Tables time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In a small restauran 阅读全文
posted @ 2017-07-12 10:27 Roni_i 阅读(227) 评论(0) 推荐(0)