04 2014 档案
摘要:题目:You have a necklace of N red, white, or blue beads (3#include #include #define MAXN 400char necklace[MAXN];int len;/* * Return n mod m. The C % o...
阅读全文
摘要:http://course.cug.edu.cn/cugFirst/operational_research/main/charpter7/p4.htm好网址
阅读全文
摘要:概念及性质编辑定义如下运算:取模运算:a % p(或a mod p),表示a除以p的余数。模p加法:(a + b) % p ,其结果是a+b算术和除以p的余数,也就是说,(a+b) = kp +r,则(a + b) % p = r。模p减法:(a-b) % p ,其结果是a-b算术差除以p的余数。模...
阅读全文
摘要:http://www.programfan.com/blog/article.asp?id=41937
阅读全文
摘要:IplImage* pstImg;HI_CHAR as8Title[25];CvFontstTimeFont;//字体信息cvInitFont(&stTimeFont,CV_FONT_HERSHEY_COMPLEX,0.5f,0.5f,0,1,8);sprintf_s(as8Title,"GMM:%d",g_u32FrameNum);cvPutText(pstImg,as8Title,cvPoint(0,15),&stTimeFont,CV_RGB(255,0,0));
阅读全文