随笔分类 - hash
摘要:View Code 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 using namespace std; 5 6 struct node 7 { 8 int v; 9 node *next;10 }point[1000001];11 node *table[1000000];12 13 int a[101];14 int k;15 16 int hash(int x)17 {18 return (x%1000000);19 }20 21 void add()22 {23 int 
        阅读全文
                
                    
                
浙公网安备 33010602011771号