-->
当前位置:首页 > 题库

题库 第859页

  • 最新
  • 浏览
  • 评论

判断题:![greedy-2r.jpg](~/921a944e-81ce-42e5-baa1-2b285b56a7ec.jpg)

Luz4年前 (2022-10-06)443
![greedy-2r.jpg](~/921a944e-81ce-42e5-baa1-2b285b56a7ec.jpg)Based on the above greedy approach, we can find a 2-approxim…

判断题:An algorithm is called an $$\alpha (n)$$-approximation algorithm

Luz4年前 (2022-10-06)399
An algorithm is called an $$\alpha (n)$$-approximation algorithm if it achieves an approximation ratio of $$\alpha (n)$$…

判断题:Approximation algorithm is for finding the near-optimal solution

Luz4年前 (2022-10-06)425
Approximation algorithm is for finding the near-optimal solutions in polynomial time.答案:TRUE…

函数题:鸟与飞行物

Luz4年前 (2022-10-06)863
1、设计一个抽象类名叫 Bird 代表鸟类,其中含一个 void sing() 方法用于打印 "This bird sings"。2、设计一个接口名为 Flyable 表示任何可以飞的物体,其中包含一个 void fly() 方法。3、设计…

编程题:jmu-java-m02-使用列表管理姓名

Luz4年前 (2022-10-06)480
输入若干行字符串,每行代表一个姓名,依次存入数组列表(类型为ArrayList)nameList中,**每个名字只能加入一次**。现在nameList相当于一个存储姓名的数据库,可以对nameList进行适当的操作,以实现姓名管理系统。##…

编程题:炸僵尸(宁波小学2017)

Luz4年前 (2022-10-06)531
![boom1.png](~/d09b10b5-ba19-486f-890d-29deddff6ad2.png)![boom2.png](~/81a8b736-7efd-42be-82f8-7d9f5bd2343e.png)![boom3.…

填空题:h0061. 阅读以下内容,回答问题

Luz4年前 (2022-10-05)511
阅读以下内容,回答以下问题。【说明】:某公司搭建一个小型的局域网,局域网内有200台pc机,网络中配置一台Linux服务器作为Internet接入服务器,Linux服务器的E0网卡的IP地址为192.168.1.1,E1网卡的IP地址为20…

填空题:请写出函数调用的返回值

Luz4年前 (2022-10-05)598
请写出函数调用的返回值。int issort(int a[],int n){ int i=0,t=1; while(i<n-1 && t) { if(a[i]<a[i+1]) i++; else t=…

单选题:9.一台主机要实现通过局域网与另一个局域网通信,需要做的工作是 ____.

Luz4年前 (2022-10-05)398
一台主机要实现通过局域网与另一个局域网通信,需要做的工作是____.A.配置域名服务器B.定义一条本机指向所在网络的路由C.定义一条本机指向所在网络网关的路由D.定义一条本机指向目标网络网关的路由答案:C…

单选题:10.在/etc/fstab 文件中指定的文件系统加载参数中,____ 参数一般用于CD-ROM 等移动设备.

Luz4年前 (2022-10-05)366
在/etc/fstab 文件中指定的文件系统加载参数中,____ 参数一般用于CD-ROM 等移动设备A.defaults替换为错误项B.swC.rw 和roD.noauto答案:D…