hiho week 96 register

Ended

Participants:673

Verdict:Accepted
Score:100 / 100
Submitted:2016-05-01 04:13:25

Lang:G++

Edit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#define entry(name) void entry_stub(){mylib::name solver;solver.run();}
#ifndef TESTMODE
#include <cstring>
#include <string>
#include <iostream>
#include <vector>
#include <set>
#include <algorithm>
#include <queue>
using namespace std;
void entry_stub();
int main(int argc,char *argv[]){entry_stub();}
#endif
//--------------------------------------------------------------------------------------------------------------
//---------------------------------------------------------------------------------------------------------------
namespace mylib
{
    class PhiGenerate
    {
        //使
        int MAXLENTH;
        struct NumNode
        {
            int lastprimefactor;
            int phi;
        };
        NumNode* data;
        void Construct1()
        {
            for(int i=0;i<MAXLENTH;i++)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX