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

衡阳网站开发有哪些公司门户网站是啥意思

衡阳网站开发有哪些公司,门户网站是啥意思,企业管理平台软件,上海到北京的高铁时刻表查询背景需求#xff1a; 测试5宫格有多少种不重复的基础模板#xff08;只测试所有的25数字一组有多少个#xff09; # 测试11*11格#xff0c;2*2一共4套3*3 宫格目的#xff1a;数独14 5宫格有不同的基础模板 作者#xff1a;阿夏 时间#xff1a;2024年01月04日 13:… 背景需求 测试5宫格有多少种不重复的基础模板只测试所有的25数字一组有多少个 # 测试11*11格2*2一共4套3*3 宫格目的数独14 5宫格有不同的基础模板 作者阿夏 时间2024年01月04日 13:35import random from win32com.client import constants,gencache from win32com.client.gencache import EnsureDispatch from win32com.client import constants # 导入枚举常数模块 import os,timeimport docx from docx import Document from docx.shared import Pt from docx.shared import RGBColor from docx.enum.text import WD_PARAGRAPH_ALIGNMENT from docx.oxml.ns import qnfrom docxtpl import DocxTemplate import pandas as pd from docx2pdf import convert from docx.shared import RGBColor# 生成题库 import random import math from itertools import permutations# numint(input(生成几份\n)) # 制作单元格# 几宫格 hsall5 # int(input(3宫格数独3\n)) hshsallprint(------第2步制作3宫格的12套题的内容-------)# 制作3宫格的12套题目没有空格只有基础模板 lst[] for b in range(1,hs1):lst.append(b) print(lst)permutations_list list(permutations(lst)) numbers [list(permutation) for permutation in permutations_list] print(numbers) # [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]] # 6种组合 # 互相组合成3组 import itertools# 计算排列数量并生成所有可能的排列 combinations2 list(itertools.permutations(numbers, hs))# 输出排列数量 # print(len(combinations2)) # 120# # 把所有数字都提取成元素 ll[] for o1 in combinations2:for o2 in o1:for o3 in o2:ll.append(o3) # print(ll) # print(len(ll)) # 1080vhs*hs # 16个数字抽取一组 f[] for i in range(int(len(ll)/v)):f.append(ll[i*v:i*vv]) # print(f) print(len(f)) #120条# # # # 遍历表格把0、5、10相同的内容删除,横向的数字1234都正确了现在只要排除竖向不对的# P[] # zz[] # u[] # for k in f: # if int(k[0])!int(k[4])and \ # int(k[0])!int(k[8])and # int(k[0])!int(k[12]) and int(k[4])!int(k[8]) and int(k[4])!int(k[12])and int(k[8])!int(k[12]) and \ # int(k[0])int(k[4])int(k[8])int(k[12])10 and \ # int(k[1])!int(k[5])and int(k[1])!int(k[9])and int(k[1])!int(k[13]) and int(k[5])!int(k[9]) and int(k[5])!int(k[13])and int(k[9])!int(k[13]) and int(k[1])int(k[5])int(k[9])int(k[13])10 and \ # int(k[2])!int(k[6])and int(k[2])!int(k[10])and int(k[2])!int(k[14]) and int(k[6])!int(k[10]) and int(k[6])!int(k[14])and int(k[10])!int(k[14]) and int(k[2])int(k[6])int(k[10])int(k[14])10 and\ # int(k[3])!int(k[7])and int(k[3])!int(k[11])and int(k[3])!int(k[15]) and int(k[7])!int(k[11]) and int(k[7])!int(k[15])and int(k[11])!int(k[15]) and int(k[3])int(k[7])int(k[11])int(k[15])10:# zz.append(k) # print(zz) # print(不重复题目数量{}.format(len(zz))) 运行了90分钟结果报错 MemoryError显示内存不够计算 显示内存不够计算 这篇文章有破解的思路逐一尝试 python中memoryerror_mob649e8164659f的技术博客_51CTO博客python中memoryerror#Python中的MemoryError错误在编写Python程序时您可能会遇到MemoryError错误。这个错误表示您的程序尝试使用超出可用内存的资源。本文将介绍MemoryError错误的原因、如何处理它以及一些预防内存错误的最佳实践。##1.什么是MemoryErrorMemoryError是Python解释器在尝试分配内存时抛出的异常。当您的程序需要存储https://blog.51cto.com/u_16175500/6892741
http://www.zqtcl.cn/news/886140/

相关文章:

  • 怎么用模板做网站手机python编程软件
  • 做视频网站都需要什么软件下载广东网站建设哪家专业
  • 开淘宝的店铺网站怎么做网页设计需要学什么书
  • 如何做收费网站微信小程序开发教程详解
  • 软件下载网站如何履行安全管理义务网站合同书
  • 普宁17网站一起做淘宝网站建设 丽水
  • 网站注册需要多少钱wordpress缓存失败
  • 西安h5响应式网站施工企业安全生产管理规范最新版
  • 电商平台网站建设如何安装网站模版
  • wordpress攻击跳转seo营销软件
  • 广东中山市做网站python做的网站如何部署
  • VPS做镜像网站wordpress 安装七牛
  • 雄安做网站优化的公司小程序开发公司哪里强
  • 做的网站没有注册国家建设部网站倪虹
  • 中英文网站怎么实现做网站有名的公司
  • 先网站开发后软件开发显示网站运行时间代码
  • 品牌网站制作流程图百度网页版入口页
  • 哪些人需要做网站网站开发工程师 招聘
  • 东莞网站建设多长时间如何将网址提交到一些权重比较高的网站
  • 阳江网站seo公司wordpress建站博客
  • 我想做京东网站淘宝怎么做的wordpress淘宝联盟转链
  • 虚拟钱包对接网站开发视频教程营销型网站建设要懂代码吗
  • 莱州教育网站一站式网站搭建
  • 开发网站开票名称是什么捕鱼游戏网站开发商
  • 我国中小企业网站建设怎样办自己的网站
  • 如何推广自己网站链接通化北京网站建设
  • 小型的游戏网站怎么做WordPress设置作者信息
  • 网站建设师要求关键词优化排名易下拉排名
  • 网站建设步骤及推广方法做网站的公司叫什么
  • 怎么建立自己网站 asp网站做视频流量赚钱