C语言
文章平均质量分 50
alice707
这个作者很懒,什么都没留下…
展开
-
长的十进制字符串转换为二进制序列
#include #include #include #define DATA 40 #define MAX 200 void tenToBin(char *str); char bin[MAX]; int main() { char str[DATA]; while(scanf("%s", str) != EOF)原创 2014-04-07 09:53:45 · 566 阅读 · 0 评论 -
九度OJ 题目1162:I Wanna Go Home
题目描述: The country is facing a terrible civil war----cities in the country are divided into two parts supporting different leaders. As a merchant, Mr. M does not pay attention to politics but he原创 2014-04-25 17:09:06 · 758 阅读 · 0 评论