本程序實做MLP(Multi-layer perceptron)算法,使用者可以自行設定訓練數據集與測試數據集,將訓練數據集加載,在2、3維下可以顯示其分布狀態,并分別設定鍵節值、學習率、迭代次數來訓練其類神經網絡,最后可觀看辨識率與RMSE(root Mean squared error)來判別訓練是否可以停止。
shc是一個加密shell腳本的工具.它的作用是把shell腳本轉換為一個可執行的二進制文件.
用shell腳本對系統進行自動化維護,簡單,便捷而且可移植性好.
但shell腳本是可讀寫的,很有可能會泄露敏感信息,如用戶名,密碼,路徑,IP等.
同樣,在shell腳本運行時會也泄露敏感信息.
shc是一個加密shell腳本的工具.它的作用是把shell腳本轉換為一個可執行的二進制文件.
這就很好的解決了上述問題.
tar zxvf shc-3.8.tgz
cd shc-3.8
make test
make
make test
make strings
make install 這一步需要root權限
使用方法:
shc -r -f script-name 注意:要有-r選項, -f 后跟要加密的腳本名.
運行后會生成兩個文件,script-name.x 和 script-name.x.c
script-name.x是加密后的可執行的二進制文件.
./script-name 即可運行.
script-name.x.c是生成script-name.x的原文件(c語言)
北京大學ACM比賽題目
Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down the left node until the last level, and we can also find the maximum number by going down the right node. Now you are given some queries as "What are the minimum and maximum numbers in the subtree whose root node is X?" Please try to find answers for there queries.
#include<malloc.h>
#include<limits.h>
#include<stdio.h>
#include<graphics.h>
#include<io.h>
#include<math.h>
#include<process.h>
#include<conio.h>
#define m 100
#define OK 1
typedef int Status
typedef char TElemType /*樹元素的類型*/
int t=35
int n=20
int h=14
int u=2
int leaf=0,non_l_leaf=0,non_r_leaf=0,root=0 /*各種結點數*/
char le[m],l[m],r[m],ro[m] /*用與存放各種結點*/
typedef struct BiTNode/*定義二叉樹*/