Skip to content

Commit

Permalink
Initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
GYPpro committed Jul 7, 2023
1 parent 32cd0fc commit bfda745
Show file tree
Hide file tree
Showing 7 changed files with 759 additions and 0 deletions.
27 changes: 27 additions & 0 deletions AlgorithmAuthenticate.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#include <iostream>
#include <stdlib.h>
#include <myDisplyTool.h>
#include <myRand.h>
#include <myMathTool.h>

using namespace std;

int main()
{
int T[1001] = {0};
for(int i = 0;i < 1000000;i ++)
{
// int r = (int)(rand()*100)/RAND_MAX;
int r = rand();
for(;r >= 30000;)r = rand();
r %= 100;
T[r] ++;
}
for(int i = 0;i < 101;i ++)
{
cout << T[i] << endl;
}
cout << RAND_MAX << endl;
system("pause");

}
29 changes: 29 additions & 0 deletions GachaSimulationRec.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include <GenshinGachaSimulation\GachaSystem.h>
#include <string>

class GachaSimulationRec{//记录及统计

public:
void AddData(GachaFallBack FallBack)
{

}

void output()
{

}

};

class GachaTatic{//方案


public:

PlayerData TaticFallBack(PlayerData privData)
{

}

};
Loading

0 comments on commit bfda745

Please sign in to comment.