xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 566KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-06-08
  • 語言: 其他
  • 標簽:

資源簡介

代碼相似度檢測系統源代碼 代碼相似度檢測系統源代碼 代碼相似度檢測系統源代碼

資源截圖

代碼片段和文件信息

//?Hash.cpp:?implementation?of?the?Hash?class.
//
//////////////////////////////////////////////////////////////////////

#include?“Hash.h“

//////////////////////////////////////////////////////////////////////
//?Construction/Destruction
//////////////////////////////////////////////////////////////////////

Hash::Hash(char?processed[]int?n_count)
{
????int?i;

????count?=?n_count;
for(i?=?0;?i? {
data[i]?=?processed[i];
}

/*哈希表長度為10;存放10個整數來記錄出現關鍵字的次數其中hashTab【0】-【9】分別為break
charclassdoelse//forifintvoidwhile*/

for(i?=?0;?i? {
hashTab[i]?=?0;
}
}

Hash::~Hash()
{


}



void?Hash::Display()
{

int?i;

for(i?=?0;?i? {
cout< }

cout<}

void?Hash::Cumulating(int?location)
{

hashTab[location]?++;
}

void?Hash::calcuNum()
{
//int?a?=?0;

int?i?=?0;

while(i?!=?count)
{
if(data[i]?==?‘i‘)
{
if(data[i?-?1]?==?‘?‘?||?data[i?-?1]?==?‘\n‘?||?data[i?-?1]?==?9?||i?==?0)
{
i++;
if(data[i]?==?‘f‘)
{

i?++;
if(data[i]?==?‘?‘?||?data[i]?==?‘\n‘)
{
Cumulating(6);



}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}



}

else?if(data[i]?==?‘n‘)
{
i?++;
if(data[i]?==?‘t‘)
{
i?++;
if(data[i]?==?‘?‘?||?data[i]?==?‘\n‘)
{
Cumulating(7);



}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}

}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}
}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}

}



}
else
{

while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}
}


else?if(data[i]?==?‘f‘)
{
if(data[i?-?1]?==?‘?‘?||?data[i?-?1]?==?‘\n‘?||?data[i?-?1]?==?9?||i?==?0)
{
i++;
if(data[i]?==?‘o‘)
{
i?++;
if(data[i]?==?‘r‘)
{
i?++;
if(data[i]?==?‘?‘?||?data[i]?==?‘\n‘)
{
Cumulating(5);



}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}

}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}
}
else
{
while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}

}


}
else
{

while(data[i]?!=?‘?‘?&&?data[i]?!=?‘\n‘)
{
i?++;
}
}
}

else?if(data[i]?==?‘b‘)
{
if(data[i?-?1]?==?‘?‘?||?data[i?-?1]?==?‘\n‘?||?data[i?-?1]?==?9?||i?==?0)
{
i++;

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-07-21?22:19??課程設計代碼\
?????目錄???????????0??2010-01-19?20:57??課程設計代碼\代碼相似度\
?????文件????????1649??2009-12-28?08:10??課程設計代碼\代碼相似度\1.txt
?????文件????????1667??2009-12-30?15:51??課程設計代碼\代碼相似度\2.txt
?????文件????????1848??2009-12-30?15:29??課程設計代碼\代碼相似度\3.txt
?????文件???????????0??2009-12-30?15:29??課程設計代碼\代碼相似度\4.txt
?????目錄???????????0??2010-01-20?14:16??課程設計代碼\代碼相似度\Debug\
?????文件??????156242??2009-12-30?17:05??課程設計代碼\代碼相似度\Debug\Hash.obj
?????文件??????301967??2009-12-31?12:54??課程設計代碼\代碼相似度\Debug\main.obj
?????文件??????110592??2009-12-31?12:54??課程設計代碼\代碼相似度\Debug\vc60.pdb
?????文件??????602218??2009-12-31?12:54??課程設計代碼\代碼相似度\Debug\代碼相似度.exe
?????文件?????1156096??2009-12-31?12:54??課程設計代碼\代碼相似度\Debug\代碼相似度.pdb
?????文件????????9853??2009-12-30?15:00??課程設計代碼\代碼相似度\Hash.cpp
?????文件?????????734??2009-12-30?11:57??課程設計代碼\代碼相似度\Hash.h
?????文件????????1649??2009-12-31?12:54??課程設計代碼\代碼相似度\firstProcessed.txt
?????文件????????5344??2009-12-31?12:54??課程設計代碼\代碼相似度\main.cpp
?????文件????????1848??2009-12-31?12:54??課程設計代碼\代碼相似度\secondProcessed.txt
?????文件????????4446??2009-12-27?14:34??課程設計代碼\代碼相似度\代碼相似度.dsp
?????文件?????????254??2009-12-31?13:06??課程設計代碼\代碼相似度\代碼相似度.plg
?????文件?????????539??2009-12-27?13:36??課程設計代碼\課程設計.dsw
?????文件???????66560??2009-12-31?13:13??課程設計代碼\課程設計.ncb
?????文件???????49664??2009-12-31?13:13??課程設計代碼\課程設計.opt

評論

共有 條評論

相關資源