1、输入如下正确的常量说明串:constcount=10,sum=81.5,char1=‘f’,max=169,str1=“h*542..4S!AAsj”,char2=‘@’,str2=“aa!+h”;
输出:count(integer,10)sum(float,81.5)char1(char,‘f’)max(integer,169)str1(string,“h*542..4S!AAsj”)char2(char,‘@’)str2(string,“aa!+h”)int_num=2;char_num=2;string_num=2;float_num=1.2、输入类似如下的保留字const错误的常量说明串:Aconsttcount=10,sum=81.5,char1=‘f’;输出类似下面的错误提示信息:Itisnotaconstantdeclarationstatement!Pleaseinputastringagain!3、输入类似如下含常量名或常量值错误的常量说明串:constcount=10,12sum=81.5,char1=‘ff’,max=0016;
输出类似下面的错误提示信息:count(integer,10)12sum(Wrong!Itisnotaidentifier!)char1(Wrong!Therearemorethanonecharin‘’.)max(Wrong!Theintegercan’tbestartedwith‘0’.)int_num=1;char_num=0;string_num=0;float_num=0.
2024/1/27 0:49:23 3KB 编译原理
1
xgboost-0.82-py2.py3-none-win_amd64.whl
2024/1/25 22:24:15 7.31MB xgboost python
1
多旅行商matlab实验源码实现了三种多旅行商问题%MTSPOF_GAFixedOpenMultipleTravelingSalesmenProblem(M-TSP)GeneticAlgorithm(GA)%Findsa(near)optimalsolutiontoavariationofthe"open"M-TSPby%settingupaGAtosearchfortheshortestroute(leastdistanceneeded%foreachsalesmantotravelfromthestartlocationtounique%individualcitiesandfinallytotheendlocation)%%Summary:%1.Eachsalesmanstartsatthefirstpoint,andendsatthelast%point,buttravelstoauniquesetofcitiesinbetween(noneof%themclosetheirloopsbyreturningtotheirstartingpoints)%2.Exceptforthefirstandlast,eachcityisvisitedbyexactlyonesalesman%%Note:TheFixedStartistakentobethefirstXYpointandtheFixedEnd%istakentobethelastXYpoint%%Input:%XY(float)isanNx2matrixofcitylocations,whereNisthenumberofcities%DMAT(float)isanNxNmatrixofcity-to-citydistancesorcosts%SALESMEN(scalarinteger)isthenumberofsalesmentovisitthecities%MIN_TOUR(scalarinteger)istheminimumtourlengthforanyofthe%salesmen,NOTincludingthestartpointorendpoint%POP_SIZE(scalarinteger)isthesizeofthepopulation(shouldbedivisibleby8)%NUM_ITER(scalarinteger)isthenumberofdesirediterationsforthealgorithmtorun%SHOW_PROG(scalarlogical)showstheGAprogressiftrue%SHOW_RES(scalarlogical)showstheGAresultsiftrue%%Output:%OPT_RTE(integerarray)isthebestroutefoundbythealgorithm%OPT_BRK(integerarray)isthelistofroutebreakpoints(thesespecifytheindices%intotherouteusedtoobtaintheindividualsalesmanroutes)%MIN_DIST(scalarfloat)isthetotaldistancetraveledbythesalesmen%%Route/BreakpointDetails:%Ifthereare10citiesand3salesmen,apossibleroute/break%combinationmightbe:rte=[56942837],brks=[37]%
1
使用Kolla部署Pike版本的OpenStack-allinone云平台,非常详细,很好
2023/12/27 4:37:38 1.02MB Kolla OpenSt
1
PrivateDeclareSubSetColorDepthLib"MakePDF417.dll"(ByRefnDepthAsInteger)PrivateDeclareSubGetColorDepthLib"MakePDF417.dll"()PrivateDeclareSubMixTextLib"MakePDF417.dll"(ByValszSrcBmpFileNameAsString,ByValszDstBmpFileNameAsString,ByValszTextAsString,ByVallFontSizeAsInteger,ByVallTxtHeightAsInteger,ByVallHmarginAsInteger,ByVallVmarginAsInteger,ByVallTxtCntOneLineAsInteger)PrivateDeclareSubMakeLib"MakePDF417.dll"(ByRefucDataAsByte,ByValnLenAsInteger,ByValszFileNameAsString,ByValnClumnAsInteger,ByValnErrAsInteger,ByValnHLRatioAsInteger,ByValnHeightAsInteger)PrivateSubButton1_Click(senderAsSystem.Object,eAsSystem.EventArgs)HandlesButton1.ClickDima()AsBytea=System.Text.UnicodeEncoding.Unicode.GetBytes(StrConv(TextBox1.Text,VbStrConv.None))Make(a(2),UBound(a)-LBound(a)+1,"tmp.bmp",CInt(TextBox2.Text),CInt(TextBox3.Text),CInt(TextBox4.Text),CInt(TextBox6.Text))SetColorDepth(CInt(TextBox5.Text))GetColorDepth()Dimtmp,tmp2AsBitmaptmp=Image.FromFile(Application.StartupPath&"\tmp.bmp")tmp2=NewBitmap(tmp)tmp.Dispose()PictureBox1.Image=tmp2EndSub
2023/11/30 22:46:16 162KB PDF417.DLL
1
FRM二级公式一览表,考前必看schweser'squicksheetallinonepdf
2023/11/29 16:55:08 831KB FRM 二级 公式
1
SunOneDirectoryServer5.2
2023/11/22 16:25:57 39.88MB Sun One Directory Server
1
Pillow-7.2.0-cp38-none-win32.whlpython3.832位系统
2023/11/18 21:02:52 1.71MB python
1
py4j,python2和3都可使用,安装py4j:pipinstallpy4j-0.10.9.1-py2.py3-none-any.whl
2023/11/11 17:26:43 194KB py4j
1
该存储库包含主要用Python编写的简单linux脚本。
脚本列表:function_generator-生成具有foo函数的随机源代码,这些函数从main彼此调用gcc-reorder-runner.sh-运行gcc二进制文件的包装器(特定于功能重新排序)readelf_sections-包装器,将打印以ELF二进制形式显示的所有部分,显示模式:none|latex|pappedreadelf_relocs-为每个重定位类型打印重定位数量ldd_informer-显示可执行文件的所有依赖关系,包括所有共享库的大小readpage_graph-从装订转储和二进制文件创建图形;
所有重要的ELF部分都突出显示stap_readpage.stp-STAP脚本文件打印内核完成的所有ext4光盘读取readelf_sorted_symbols-按二进制布局顺序从EL
2023/11/11 1:19:21 3.52MB C++
1
共 103 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡