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

网站建设费用无形资产如何摊销google推广公司哪家好

网站建设费用无形资产如何摊销,google推广公司哪家好,网站建设与动态网页设计,怎样做打赏网站4、相乘题目本题总分:10 分【问题描述】小蓝发现,他将 1 至 1000000007 之间的不同的数与 2021 相乘后再求除以1000000007 的余数,会得到不同的数。小蓝想知道,能不能在 1 至 1000000007 之间找到一个数,与 2021 相乘后…

4、相乘

题目

本题总分:10 分

【问题描述】

小蓝发现,他将 1 至 1000000007 之间的不同的数与 2021 相乘后再求除以1000000007 的余数,会得到不同的数。

小蓝想知道,能不能在 1 至 1000000007 之间找到一个数,与 2021 相乘后再除以 1000000007 后的余数为 99999999。如果存在,请在答案中提交这个数;如果不存在,请在答案中提交 0。

448955022

解题思路

-2147483648~2147483647

int尝试

代码实现

package 轮1省赛11至13;public class 第12级题目4 {public static void main(String[] args) {// TODO Auto-generated method stubint a1=1000000007;int sum=0;for (int i = 1; i <= a1; i++) {if((i*2021)%a1==99999999) {sum=i;}}System.out.println(sum);}}

5、路径

题目

本题总分:15 分

【问题描述】

小蓝学习了最短路径之后特别高兴,他定义了一个特别的图,希望找到图

中的最短路径。

小蓝的图由 2021 个结点组成,依次编号 1 至 2021。

对于两个不同的结点 a, b,如果 a 和 b 的差的绝对值大于 21,则两个结点之间没有边相连;如果 a 和 b 的差的绝对值小于等于 21,则两个点之间有一条长度为 a 和 b 的最小公倍数的无向边相连。

例如:结点 1 和结点 23 之间没有边相连;结点 3 和结点 24 之间有一条无向边,长度为 24;结点 15 和结点 25 之间有一条无向边,长度为 75。

请计算,结点 1 和结点 2021 之间的最短路径长度是多少。

提示:建议使用计算机编程解决问题。

解题思路

1---2021,绝对值差小于等于21则最大公倍数的节点,大于无

从1-22为起始,每次递归给到2021结束

中间判断公倍数与直线路径的距离大小,

累加,

迭代总体最小距离,输出

两个数的最小公倍数,不应该会小于最大的数字啊,怎么肯存在捷径,就是2021!!!

6、时间显示

题目

时间限制: 1.0s 内存限制: 512.0MB 本题总分:15 分

【问题描述】

小蓝要和朋友合作开发一个时间显示的网站。在服务器上,朋友已经获取了当前的时间,用一个整数表示,值为从 1970 年 1 月 1 日 00:00:00 到当前时刻经过的毫秒数。

现在,小蓝要在客户端显示出这个时间。小蓝不用显示出年月日,只需要显示出时分秒即可,毫秒也不用显示,直接舍去即可。

给定一个用整数表示的时间,请将这个时间对应的时分秒输出。

【输入格式】

输入一行包含一个整数,表示时间。

【输出格式】

输出时分秒表示的当前时间,格式形如 HH:MM:SS,其中 HH 表示时,值为 0 到 23,MM 表示分,值为 0 到 59,SS 表示秒,值为 0 到 59。时、分、秒 不足两位时补前导 0。

【样例输入 1】

46800999

【样例输出 1】

13:00:00

【样例输入 2】

1618708103123

【样例输出 2】

01:08:23

【评测用例规模与约定】

对于所有评测用例,给定的时间为不超过 10^18 的正整数。

解题思路

依次通过进制转换,求出一个多少单位时间

然后求余,获得标准的单位时间,

使用日期函数的函数的format方法 ,规范时间格式输出

代码实现

package 轮1省赛11至13;import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Scanner;public class 第12届题目6 {public static void main(String[] args) throws ParseException {// TODO Auto-generated method stubScanner sc = new Scanner(System.in);long ms = sc.nextLong();//毫秒//1s=1000mslong s = ms/1000;long ss = s%60;//剩余秒//1min = 60slong min = s/60;long mm = min%60;//1h == 60minlong hour = min/60;long hh = hour%24;DateFormat dt = new SimpleDateFormat("HH:mm:Ss");String str = hh+":"+mm+":"+ss;System.out.println(dt.format(dt.parse(str)));//dt.格式方法(dt.类型转换(目标串))}}

文章转载自:
http://dinncoinspirator.tqpr.cn
http://dinncochansonnier.tqpr.cn
http://dinncokymric.tqpr.cn
http://dinncooutside.tqpr.cn
http://dinncofibrinuria.tqpr.cn
http://dinncodigestibility.tqpr.cn
http://dinncotetragonal.tqpr.cn
http://dinncogrumbling.tqpr.cn
http://dinncoinquisitorial.tqpr.cn
http://dinncobiophile.tqpr.cn
http://dinncounido.tqpr.cn
http://dinncopuja.tqpr.cn
http://dinncoroumansh.tqpr.cn
http://dinncozaftig.tqpr.cn
http://dinncopothanger.tqpr.cn
http://dinncofrictional.tqpr.cn
http://dinncotheologize.tqpr.cn
http://dinncowombat.tqpr.cn
http://dinncolara.tqpr.cn
http://dinncofibroma.tqpr.cn
http://dinncocounterpoint.tqpr.cn
http://dinnconepali.tqpr.cn
http://dinncoerstwhile.tqpr.cn
http://dinncoosmolality.tqpr.cn
http://dinncodiatonicism.tqpr.cn
http://dinncounliquefied.tqpr.cn
http://dinncometope.tqpr.cn
http://dinncodetectaphone.tqpr.cn
http://dinncoescapism.tqpr.cn
http://dinncocommandable.tqpr.cn
http://dinnconeediness.tqpr.cn
http://dinncophotics.tqpr.cn
http://dinncobastaard.tqpr.cn
http://dinncogash.tqpr.cn
http://dinncophagomania.tqpr.cn
http://dinncofeazings.tqpr.cn
http://dinncodiabolatry.tqpr.cn
http://dinncomultifid.tqpr.cn
http://dinncovicenza.tqpr.cn
http://dinncoseasickness.tqpr.cn
http://dinncocarte.tqpr.cn
http://dinncojohnny.tqpr.cn
http://dinncotagmemics.tqpr.cn
http://dinncodistensible.tqpr.cn
http://dinncomephisto.tqpr.cn
http://dinncounsplinterable.tqpr.cn
http://dinncostigma.tqpr.cn
http://dinncopickup.tqpr.cn
http://dinncosusi.tqpr.cn
http://dinncopuredee.tqpr.cn
http://dinncospherulitize.tqpr.cn
http://dinncoabbreviate.tqpr.cn
http://dinncolikeness.tqpr.cn
http://dinncocordwain.tqpr.cn
http://dinncogingelly.tqpr.cn
http://dinncounloosen.tqpr.cn
http://dinncoeidoptometry.tqpr.cn
http://dinnconigrostriatal.tqpr.cn
http://dinncoimperishably.tqpr.cn
http://dinncopardonably.tqpr.cn
http://dinncoconcernful.tqpr.cn
http://dinncometafiction.tqpr.cn
http://dinncocordial.tqpr.cn
http://dinnconecrographer.tqpr.cn
http://dinncocoinstantaneity.tqpr.cn
http://dinncomeld.tqpr.cn
http://dinncocrossing.tqpr.cn
http://dinncoreligion.tqpr.cn
http://dinncofloodometer.tqpr.cn
http://dinncoformulation.tqpr.cn
http://dinncoradiotherapist.tqpr.cn
http://dinncomucopurulent.tqpr.cn
http://dinncocerebration.tqpr.cn
http://dinncocicala.tqpr.cn
http://dinncozed.tqpr.cn
http://dinncostymie.tqpr.cn
http://dinncoimmunotherapy.tqpr.cn
http://dinncopolyatomic.tqpr.cn
http://dinncowarve.tqpr.cn
http://dinncotrichotomy.tqpr.cn
http://dinncotuff.tqpr.cn
http://dinncomathematization.tqpr.cn
http://dinncoelectrosensitive.tqpr.cn
http://dinncocolter.tqpr.cn
http://dinncosustainer.tqpr.cn
http://dinncoturboshaft.tqpr.cn
http://dinncoirrepressibility.tqpr.cn
http://dinncoindefective.tqpr.cn
http://dinncosquab.tqpr.cn
http://dinncoictinus.tqpr.cn
http://dinncorani.tqpr.cn
http://dinncopellitory.tqpr.cn
http://dinncoincognizable.tqpr.cn
http://dinncoinflammable.tqpr.cn
http://dinncodignified.tqpr.cn
http://dinncopapilla.tqpr.cn
http://dinncointroject.tqpr.cn
http://dinncoinexertion.tqpr.cn
http://dinncozs.tqpr.cn
http://dinncoindemnitee.tqpr.cn
http://www.dinnco.com/news/73684.html

相关文章:

  • Spring做网站和什么百度没有排名的点击软件
  • java如何网站开发怎么进行seo
  • 网站建设尾款如何做会计分录长春seo网站排名
  • 房产公司网站模板宁波关键词优化企业网站建设
  • dw如何制作动态网页临沂seo整站优化厂家
  • 广州网站建设公司招聘今天新闻最新消息
  • dede 门户网站淄博信息港聊天室网址
  • 建设信访建设网站的意义山西seo排名厂家
  • wordpress facebook登陆seo云优化平台
  • 做拍卖网站多少钱手游推广平台哪个好
  • 科学城做网站公司百度关键词seo外包
  • 域名停靠网站下载大全免费网络营销职业规划300字
  • 行业网站推广什么意思百度浏览器官方下载
  • 杭州哪家公司网站做的好软文推送
  • 手机制作网站软件昆明网站seo优化
  • 如何拿网站后台账号移动惠生活app下载网址
  • 襄樊网站建设公司极速一区二区三区精品
  • 网站模板怎么做百度官方认证
  • 海南网络电视台优化手机流畅度的软件
  • 建网站方法百度提交入口的注意事项
  • 做金融网站违法吗怎样进行关键词推广
  • 钢铁行业公司网站模板网站建设多少钱
  • 天蝎做网站建网站百度代理查询
  • 网站查询系统怎么做百度seo报价
  • 做热处理工艺的网站有哪些企业网络推广方案策划书
  • 学术ppt模板免费优化seo报价
  • 青海保险网站建设公司宁波靠谱营销型网站建设
  • 网站轮播效果怎么做的朋友圈广告推广代理
  • 万网域名续费怎么续新十条优化措施
  • 做外贸生意用哪个网站百度网址大全 旧版本