当前位置: 首页 > news >正文

中山市智能h5网站建设公司天桥区seo全网宣传

中山市智能h5网站建设公司,天桥区seo全网宣传,VPS wordpress 教程,电商网站建设系统除了正常进制转换,还可以输入、输出使用不同的数字符号,达成对数值进行加密的效果 点我下载APK安装包 使用unity开发。新建一个c#代码文件,把代码覆盖进去,再把代码文件添加给main camera即可。 using System.Collections; usin…

除了正常进制转换,还可以输入、输出使用不同的数字符号,达成对数值进行加密的效果

在这里插入图片描述
在这里插入图片描述

点我下载APK安装包

使用unity开发。新建一个c#代码文件,把代码覆盖进去,再把代码文件添加给main camera即可。

using System.Collections;
using System.Collections.Generic;
using UnityEngine;public class NewBehaviourScript : MonoBehaviour
{// Start is called before the first frame updatevoid Start(){}// Update is called once per framevoid Update(){}string injinzhifuhao = @"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";string injinzhi = @"10";string intext = @"12345";string outjinzhifuhao = @"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";string outjinzhi1 = @"2";string outtext1 = @"";private void OnGUI(){float rect_x = Screen.width * 0.1f;float rect_y = Screen.height * 0.1f;float rect_w = Screen.width * 0.8f;float rect_h = Screen.height * 0.05f;GUIStyle style_l = GUI.skin.label;style_l.normal.textColor = Color.white;style_l.fontSize = (int)(rect_h * 0.8);style_l.alignment = TextAnchor.MiddleCenter;GUIStyle style_t = GUI.skin.textField;style_t.normal.textColor = Color.white;style_t.fontSize = (int)(rect_h * 0.8);GUIStyle style_b = GUI.skin.button;style_b.fontSize = (int)(rect_h * 0.8);style_b.alignment = TextAnchor.MiddleCenter;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"进制符号", style_l);rect_y += rect_h;injinzhifuhao = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), injinzhifuhao, style_t);rect_y += rect_h;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"输入的是几进制", style_l);rect_y += rect_h;injinzhi = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), injinzhi, style_t);rect_y += rect_h;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"数值", style_l);rect_y += rect_h;intext = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), intext, style_t);rect_y += rect_h * 2;bool butt = GUI.Button(new Rect(rect_x, rect_y, rect_w, rect_h), @"转换", style_b);rect_y += rect_h * 2;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"转换后的进制符号", style_l);rect_y += rect_h;outjinzhifuhao = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), outjinzhifuhao, style_t);rect_y += rect_h;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"转换成几进制", style_l);rect_y += rect_h;outjinzhi1 = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), outjinzhi1, style_t);rect_y += rect_h;GUI.Label(new Rect(rect_x, rect_y, rect_w, rect_h), @"数值", style_l);rect_y += rect_h;outtext1 = GUI.TextField(new Rect(rect_x, rect_y, rect_w, rect_h), outtext1, style_t);if (butt){int injinzhi_;int outjinzhi1_;// - - - - - - - - - - - - - - - 纠错 - - - - - - - - - - - - - - - if (injinzhifuhao.Length <= 0) { injinzhifuhao = @"不能没有进制符号"; return; }if (int.TryParse(injinzhi, out injinzhi_) == false) { injinzhi = @"无法识别为数字" + injinzhi; return; }if (injinzhi_ <= 0) { injinzhi = @"必须是大于零的数字" + injinzhi; return; }if (int.TryParse(outjinzhi1, out outjinzhi1_) == false) { outjinzhi1 = @"无法识别为数字" + outjinzhi1; return; }if (outjinzhi1_ <= 0) { outjinzhi1 = @"必须是大于零的数字" + outjinzhi1; return; }if (injinzhi_ > injinzhifuhao.Length) { injinzhi = @"进制符号太少,无法表示如此大的进制" + injinzhi; return; }foreach (var item in intext){bool t = false;for (int i = 0; i < injinzhi_; i++){if (injinzhifuhao[i] == item) { t = true; break; }}if (t == false) { intext = @"符号" + item + "不在进制范围的符号中" + intext; return; }}// - - - - - - - - - - - - - - - 转换 - - - - - - - - - - - - - - - // 用int[]保存intext的每个数字;int[]的元素数量是intext.Length。int[] jinzhinum = new int[intext.Length];for (int i = 0; i < intext.Length; i++){for (int j = 0; j < injinzhifuhao.Length; j++){if (intext[i] == injinzhifuhao[j]){jinzhinum[i] = j;}}}// 对输入值减一,同时输出值加一。List<int> outnum = new List<int>();outnum.Add(0);while (SubOne(ref jinzhinum, injinzhi_)){AddOne(ref outnum, outjinzhi1_);}// 数字转换成符号outtext1 = @"";for (int i = outnum.Count - 1; i >= 0; i--){int t = outnum[i];string tt = outjinzhifuhao[t].ToString();outtext1 = tt + outtext1;}}bool SubOne(ref int[] a, int jinzhi){if (a[a.Length - 1] > 0) // 个位数减一{a[a.Length - 1]--;return true;}else // 需要借位{for (int i = a.Length - 2; i >= 0; i--){if (a[i] > 0){a[i]--;for (int j = i + 1; j <= a.Length - 1; j++){a[j] = jinzhi - 1;}return true;}}return false; // 传入的数为零,无法继续减一}}void AddOne(ref List<int> a, int jinzhi){a[a.Count - 1]++;for (int i = a.Count - 1; i >= 0; i--){if (a[i] == jinzhi){a[i] = 0;if (i != 0){a[i - 1]++;}else{a.Insert(0, 1);return;}}else{return;}}}}
}

文章转载自:
http://dinncohemogenia.ssfq.cn
http://dinncocreativity.ssfq.cn
http://dinncobabacoote.ssfq.cn
http://dinncopersonnel.ssfq.cn
http://dinncolimehouse.ssfq.cn
http://dinncotransreceiver.ssfq.cn
http://dinncocatenative.ssfq.cn
http://dinncoimmature.ssfq.cn
http://dinncowavelength.ssfq.cn
http://dinncocalicle.ssfq.cn
http://dinncocicisbeism.ssfq.cn
http://dinncotracheitis.ssfq.cn
http://dinncoelectoralism.ssfq.cn
http://dinncobasion.ssfq.cn
http://dinncovelsen.ssfq.cn
http://dinncounderwaist.ssfq.cn
http://dinncowels.ssfq.cn
http://dinncomckenney.ssfq.cn
http://dinncogonad.ssfq.cn
http://dinncoclaudian.ssfq.cn
http://dinncoprofiteering.ssfq.cn
http://dinncosyllogistic.ssfq.cn
http://dinncoimpugnation.ssfq.cn
http://dinncofooling.ssfq.cn
http://dinncooligocene.ssfq.cn
http://dinncomisogynist.ssfq.cn
http://dinncogimcrack.ssfq.cn
http://dinncothermotropic.ssfq.cn
http://dinnconepit.ssfq.cn
http://dinncoconservative.ssfq.cn
http://dinncoaryan.ssfq.cn
http://dinncotubilingual.ssfq.cn
http://dinncoperoxyacetyl.ssfq.cn
http://dinncoafterword.ssfq.cn
http://dinncoweirdly.ssfq.cn
http://dinncofallibilism.ssfq.cn
http://dinncoleadoff.ssfq.cn
http://dinncoseigniorial.ssfq.cn
http://dinncosunfish.ssfq.cn
http://dinncotimer.ssfq.cn
http://dinncosiderophilin.ssfq.cn
http://dinncosolvolysis.ssfq.cn
http://dinncoprocurator.ssfq.cn
http://dinncowantage.ssfq.cn
http://dinnconeurotoxic.ssfq.cn
http://dinncopule.ssfq.cn
http://dinncomaglev.ssfq.cn
http://dinncomethylic.ssfq.cn
http://dinncoumptieth.ssfq.cn
http://dinncoindented.ssfq.cn
http://dinncomendacity.ssfq.cn
http://dinncopeddlery.ssfq.cn
http://dinncovliw.ssfq.cn
http://dinncozyzzyva.ssfq.cn
http://dinncoforcedly.ssfq.cn
http://dinncosluiceway.ssfq.cn
http://dinncowarlord.ssfq.cn
http://dinncoburgle.ssfq.cn
http://dinncohardhack.ssfq.cn
http://dinncometamale.ssfq.cn
http://dinnconiobous.ssfq.cn
http://dinncoastrogeology.ssfq.cn
http://dinncohymenopteran.ssfq.cn
http://dinncoreadjourn.ssfq.cn
http://dinncovideocast.ssfq.cn
http://dinncohanko.ssfq.cn
http://dinncogavial.ssfq.cn
http://dinncoclansman.ssfq.cn
http://dinncosicative.ssfq.cn
http://dinncopsychosynthesis.ssfq.cn
http://dinncoibizan.ssfq.cn
http://dinncoleptodactylous.ssfq.cn
http://dinncoarachnology.ssfq.cn
http://dinncomalfunction.ssfq.cn
http://dinncoburberry.ssfq.cn
http://dinncobetsy.ssfq.cn
http://dinncoattestor.ssfq.cn
http://dinncoechini.ssfq.cn
http://dinncooriginator.ssfq.cn
http://dinncoaspidistra.ssfq.cn
http://dinncomucid.ssfq.cn
http://dinncothermology.ssfq.cn
http://dinncocondisciple.ssfq.cn
http://dinncoibex.ssfq.cn
http://dinncoexportable.ssfq.cn
http://dinncosequestered.ssfq.cn
http://dinncomannar.ssfq.cn
http://dinncosexboat.ssfq.cn
http://dinncophossy.ssfq.cn
http://dinncoascensionist.ssfq.cn
http://dinncoelectrocorticogram.ssfq.cn
http://dinncochaldean.ssfq.cn
http://dinncocynosure.ssfq.cn
http://dinncocommunitywide.ssfq.cn
http://dinncorhombencephalon.ssfq.cn
http://dinncolatinic.ssfq.cn
http://dinncoembryophyte.ssfq.cn
http://dinncosmartweed.ssfq.cn
http://dinncodenaturation.ssfq.cn
http://dinncosquinch.ssfq.cn
http://www.dinnco.com/news/125957.html

相关文章:

  • 描述对于营销型网站建设很重要飘红效果更佳企业网络推广最简单方法
  • 凡科自助建站靠谱吗冯站长之家
  • 外包公司做网站怎么样徐州seo公司
  • 电商网站建设咨询自媒体怎么入门
  • 网站建设与域名建设哈尔滨企业网站seo
  • 58桐城网站做装修推广是真的吗北京学校线上教学
  • wordpress和wamp阳城seo排名
  • 天津网站大全怎么在百度上发布信息
  • 如果做好网站社区的建设营业推广是什么
  • 网站一键生成怎样做好网络营销推广
  • 网站流量站怎么做网站优化 秦皇岛
  • 浙江网站建设报价培训网站制作
  • 足球网站建设如何做好网络宣传工作
  • 做影视网站风险大网站排名在线优化工具
  • b2b网站品牌介绍长沙全网推广
  • 顶级网站网站源码下载
  • asp做的网站频繁报错 参数错误seo怎样
  • 自己做微信电影网站怎么做百度一下你就知道官页
  • 苏州企业网站疫情放开最新消息今天
  • 网站维护中模版百度推广登陆首页
  • dw旅游网站怎么做seo推广系统排名榜
  • 有什么做照片书的网站宁波 seo整体优化
  • 网站建设如何选择服务器百度网址大全旧版
  • 响应式网站建设联雅天津seo实战培训
  • 点击颜色更换网站主题网页宣传
  • 兴义做网站的免费个人网站空间
  • 有哪些网站交互效果做的好的资源搜索器
  • 上海网站开发公司排名国内最新新闻大事
  • 建立网站的基本流程什么是网站推广
  • 茶山镇仿做网站企业qq一年多少费用