2014年4月19日

Binary String Matching

摘要: 描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as a substring of B? For ... 阅读全文

posted @ 2014-04-19 15:08 luckygxf 阅读(252) 评论(0) 推荐(0) 编辑

求一组整数中所有素数之和

摘要: ACM oj:http://acm.nyist.net/JudgeOnline/problemset.php题目要求:描述现在给你N个数(0 3 #include 4 5 #define SIZE 1000 6 #define TRUE 1 7 #define FALSE 0 8 9 int ... 阅读全文

posted @ 2014-04-19 14:05 luckygxf 阅读(680) 评论(0) 推荐(0) 编辑

导航