摘要: Count the number of digits in a long integer entered by a user. int countDigit(long long n) { int count = 0; while (n != 0) { n = n / 10; ++count; } r 阅读全文
posted @ 2020-05-01 20:18 Jasper2003 阅读(109) 评论(0) 推荐(0) 编辑
摘要: It is possible to pass some values from the command line to your C programs when they are executed. These values are called command line arguments and 阅读全文
posted @ 2020-05-01 09:37 Jasper2003 阅读(248) 评论(0) 推荐(0) 编辑
摘要: To illustrate the radix sort algorithm we will sort the sequence S0 = {32, 100, 11, 554, 626, 122, 87, 963, 265, 108, 9}. We start by distributing ele 阅读全文
posted @ 2020-05-01 00:02 Jasper2003 阅读(197) 评论(0) 推荐(0) 编辑