• 2024-07-09[1027] Convert the .py file to the .exe file without opening the Command Line Window
    ref:Howtoremoveblackscreen(pythonconsole?)withPyQt5executable"C:\Users\User\AppData\Local\Programs\Python\Python311\Scripts\pyinstaller.exe"pipinstallpyinstallerpyinstaller--noconsole--onefilexyz1234.pyAh,PyIn
  • 2023-11-301027. 最优账单平衡(待完善)-dfs
    题目描述一群朋友在度假期间会相互借钱。比如说,小爱同学支付了小新同学的午餐共计10美元。如果小明同学支付了小爱同学的出租车钱共计5美元。我们可以用一个三元组(x,y,z)表示一次交易,表示x借给y共计z美元。用0,1,2表示小爱同学、小新同学和小明同学(0,1,2为
  • 2023-07-191027_打印沙漏
     java:1importjava.io.*;23publicclassMain{4staticBufferedReaderin=newBufferedReader(newInputStreamReader(System.in));5staticPrintWriterout=newPrintWriter(newOutputStreamWriter(System.out));6publicstaticvoid
  • 2023-04-221027. 最长等差数列
    给你一个整数数组 nums,返回nums 中最长等差子序列的长度。回想一下,nums的子序列是一个列表 nums[i1],nums[i2],...,nums[ik],且 0<=i1<i2<...<ik<=nums.length-1。并且如果 seq[i+1]-seq[i]( 0<=i<seq.length-1)的值都相同,那么序列 seq 是等差
  • 2023-04-06题目 1027: [编程入门]自定义函数处理最大公约数与最小公倍数
    题目描述写两个函数,分别求两个整数的最大公约数和最小公倍数,用主函数调用这两个函数,并输出结果两个整数由键盘输入。输入格式两个数输出格式最大公约数最小公倍数样例输入复制615样例输出复制330解题思路:欧几里得算法又称辗转相除法,用来求两
  • 2023-03-18pat 乙级 1027 打印沙漏
    ac但写得就像坨答辩过两天我自己都忘了这些变量用来干嘛的了1#include<stdio.h>2#include<stdlib.h>3#include<string.h>4#include<math.h>56int
  • 2022-11-09PAT (Advanced Level) Practise 1027 Colors in Mars (20)
    1027.ColorsinMars(20)时间限制400ms内存限制65536kB代码长度限制16000B判题程序Sta
  • 2022-10-27PAT_甲级_1027 Colors in Mars (20分) (C++)【签到题】【进制转换】
    目录​​1,题目描述​​​​题目大意​​​​2,思路​​​​3,代码​​1,题目描述SampleInput:154371 SampleOutput:#123456题目大意将0-168的十进制数转化为13进制;  2,思
  • 2022-08-21PAT Advanced 1027 Colors in Mars(20)
    题目描述:PeopleinMarsrepresentthecolorsintheircomputersinasimilarwayastheEarthpeople.Thatis,acolorisrepresentedbya6-digitnumber,wher