打赏

相关文章

CF1129A2 Toy Train

当一个车站如果有最多的糖果数x,那么跑x-1圈就能让前面x-1个糖果放到相应的地方,如果想让这时候跑的站数最少,那么最后一个应该放最近的糖果。 如果当前这个车站a并不是最多的糖果数,但是要跑的最少站数取决于拥有最多糖果数的站…

JS12

12 BOM Broswer Object Model 12.1 常用对象 window(窗口),浏览器的窗口 var a 1; function test(){ var a 2; alert(a); alert(window.a); } 全局变量window的属性,全局函数window的方法 浏览器body的宽度&a…

CF12B Correct Solution?

题目描述 One cold winter evening Alice and her older brother Bob was sitting at home near the fireplace and giving each other interesting problems to solve. When it was Alices turn, she told the number nn to Bob and said: —Shuffle the digits in this num…

C1.2

任务内容 规划⼀个C类IP地址,例如使用子网掩码将IP地址192.168.99.0~192.168.99.255划分成四个子网(可以从8位主机号中借用几位作为子网号),并使之能互联互通 解答:由于给的网络地址是C类地址&#xff0c…

Product of Three Numbers(CF-1294C)

Problem Description You are given one integer number n. Find three distinct integers a,b,c such that 2≤a,b,c and a⋅b⋅cn or say that it is impossible to do it. If there are several answers, you can print any. You have to answer t independent test cases. …

手机版浏览

扫一扫体验

微信公众账号

微信扫一扫加关注

返回
顶部