码迷,mamicode.com
首页 > 其他好文 > 详细

eXeScope 6.5 keygen

时间:2016-09-18 06:25:22      阅读:115      评论:0      收藏:0      [点我收藏+]

标签:

#include <iostream>
#include <string>
#include <stdlib.h> 
#include <time.h> 

using namespace std;

int main()
{
	int a, x1, x2, s;
	string str1[2] = {"A1910", "A1423"};
	
	srand((unsigned)time(NULL));
	
	a = rand() % 10;
	x1 = rand() % 10;
	s = rand() % 2;
	
	for(int i = 0; i < 10; i++)
	{
		if((x1 + i) % 10 == 4)
			{
				x2 = i;
				break;
			}
	}
	
	cout << str1[s] << a << a << x1 << x2 << a << endl;
	
	return 0;
}

Private Function GetKey() As String Dim str1(2) As String Dim a As Integer, x1 As Integer, x2 As Integer, s As Integer str1(1) = "A1910" str1(2) = "A1423" Randomize a = Int(Rnd * 10) x1 = Int(Rnd * 10) s = Int(Rnd * 2) + 1 For i = 0 To 9 If (x1 + i) Mod 10 = 4 Then x2 = i Exit For End If Next i GetKey = str1(s) & a & a & x1 & x2 & a End Function

  

  

eXeScope 6.5 keygen

标签:

原文地址:http://www.cnblogs.com/hoy0a1d/p/5880211.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!