原创 hdu--1342 lotto (dfs)

#include "stdio.h" #include "string.h" #include "math.h" int visit[14],save[6],a[14]; int n,cur; void DFS(int cur,int

原创 poj--3984 迷宮問題(dfs)

#include "stdio.h" #include "math.h" int mark[6][6],savex[26],savey[26],minx[26],miny[26],cur,n,lenmin; int dir[8]={1,0

原创 開機自啓,始終在最前面

//開機啓動函數 void CCommWizardDlg::OnBnClickedCheckStart() { CString str; //添加註冊表路徑 WCHAR* CurrentPath= new WCHAR[s

原创 電子秤顯示

// CommWizardDlg.cpp : implementation file // #include "stdafx.h" #include "CommWizard.h" #include "CommWizardDlg.h" #

原创 杭電ACM題目分類大全

1001       這個就不用說了吧 1002       簡單的大數 1003       DP經典問題,最大連續子段和 1004       簡單題 1005       找規律(循環點) 1006       感覺有點BT的題,我

原创 Dos經典命令大全

net use \\ip\ipc$ " " /user:" " 建立IPC空鏈接 net use \\ip\ipc$ "密碼" /user:"用戶名" 建立IPC非空鏈接 net use h: \\ip\

原创 電子秤--快捷鍵版

CommWizardDlg.cpp // CommWizardDlg.cpp : implementation file // #include "stdafx.h" #include "CommWizard.h" #include "

原创 開機啓動版weighter

// CommWizardDlg.cpp : implementation file // #include "stdafx.h" #include "CommWizard.h" #include "CommWizardDlg.h" #

原创 pku--上面題目分類學習指南(轉)

OJ上的一些水題(可用來練手和增加自信) (poj3299,poj2159,poj2739,poj1083,poj2262,poj1503,poj3006,poj2255,poj3094) 初期: 一.基本算法:       (1)枚舉.

原创 c語言從一個文件讀取文字到另一個文件中

#include "stdio.h" #include "string.h" int main() { FILE *fileR, *fileW; char buf[1000]; if((fileR = fopen("test.txt

原创 MFC學習總結(不要奢望網上有源碼,一切要自己聯想與模仿!!!)

1、在指定的對話框中打印: GetDlgItem(IDC_xianshi)->SetWindowText("for(i=0;i<18;i++)"); void CNumToChineseDlg::OnTrans() { // TODO:

原创 hdu--1159 common sequense(最長公共子序列)

#include "stdio.h" #include "math.h" #include "string.h" int s[1000][1000]; int main() { char str1[1000],str2[1000

原创 hdu-1003 max sum (dp,注意初始化和最後位置的確定)

#include "stdio.h" #include "math.h" int main() { long i,t,start,end,max,num,now; long pos1,pos2; long a[100000],

原创 新浪微博應用地址

待寫。。

原创 hust月賽A題

#include "stdio.h" #include "string.h" #include "math.h" int main() { int i,j,n,k,m,min,result[257][257],res1,lie;