会议记录

This commit is contained in:
estomm
2021-04-29 15:46:11 +08:00
parent 4a97d92987
commit dc10116b16
3 changed files with 95 additions and 0 deletions

21
a.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include<iostream>
#include<vector>
using namespace std;
int main(){
vector<int> arr{-1, 3, -3, 4,5};
vector<int> temp(arr.size()+1,0);
for(int i=0;i<arr.size();i++){
if(arr[i]<arr.size()+1 && arr[i]>0){
temp[arr[i]]=1;
}
}
int i;
for(i=1;i<temp.size();i++){
if(temp[i]==0)break;
}
cout<<i<<endl;
return 0;
}

64
b.cpp Normal file
View File

@@ -0,0 +1,64 @@
#include<map>
#include<string>
#include<iostream>
using namespace std;
struct Node{
string name;
Node* next;
Node(string _name){
name = _name;
next=nullptr;
}
};
class MyMap{
public:
map<string,Node*> m;
void insert(string s,Node* node){
if(m.count(s)>0){
Node* temp= m[s];
while(temp->next!=nullptr)temp=temp->next;
temp->next = node;
}
else{
m[s] = node;
}
}
Node* find(string s){
if(m.count(s)>0){
return m[s];
}
else{
return nullptr;
}
}
};
int main(){
MyMap mm;
string zhangsan("yanfabu");
Node* nzhangsan=new Node("zhangsan");
string wangyi("yanfabu");
Node* nwangyi = new Node("wangyi");
string lisi("shichangbu");
Node* nlisi =new Node("lisi");
mm.insert(zhangsan,nzhangsan);
mm.insert(wangyi,nwangyi);
mm.insert(lisi,nlisi);
Node* node1 = mm.find("yanfabu");
while(node1!=nullptr){
cout<<node1->name;
node1=node1->next;
}
Node* node2 = mm.find("shichangbu");
while(node2!=nullptr){
cout<<node2->name;
node2=node2->next;
}
return 0;
}

View File

@@ -0,0 +1,10 @@
研究现状,国内外。别人如何解决问题。方法不完善,准确率不高。主要研究的方向。
设计实验,针对目前存在的问题,采取的技术。
恶意软件检测中问题的明确。有可以对比的对象。隐私保护的话,保护的对象、范围?保护的方法?
同类的对比。文献综述需要明确相关研究工作作出的分析。
技术选型。文献综述,不是技术选型。
理论上