c++ tr1 hash
2017-11-01 23:21:53
컴퓨터
#include <string>
#include <tr1/unordered_map>
#include <string.h>
#include <stdio.h>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include <omp.h>
#include <iostream>
#define ULLONG_MAX 18446744073709551615ULL
#define MAX_LMS 5
typedef unsigned long long uint64;
typedef unsigned int uint32;
typedef struct {
uint32 lm_indice[MAX_LMS];
int lms_N;
}lm_indice;
std::tr1::unordered_map<uint64, lm_indice> aa;
int main()
{
srand (time(NULL));
/*
lm_indice li1;
lm_indice&nbs