当前位置:网站首页>Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison
Yyds dry goods inventory # solve the real problem of famous enterprises: cycle number comparison
2022-07-27 21:52:00 【51CTO】
1. sketch :
For any two positive integers x and k, We define repeat(x, k) For will x Repeat k Number of times , for example repeat(1234, 3) = 123412341234,repeat(20,2) = 2020. Niuniu now gives 4 It's an integer x1, k1, x2, k2, among v1 = (x1, k1), v2 = (x2, k2), Please compare v1 and v2 Size .
Input includes one line , There is... In the line 4 A positive integer x1, k1, x2, k2(1 ≤ x1,x2 ≤ 10^9, 1 ≤ k1,k2 ≤ 50), Split by space
If v1 Less than v2 Output "Less",v1 be equal to v2 Output "Equal",v1 Greater than v2 Output "Greater".
Input :
Output :
2. Code implementation :
边栏推荐
- Analysis of STL source code
- 为什么服务端程序都需要先 listen 一下
- XML writing gap animation popupwindow realizes the animation of emergence and exit
- 单核CPU, 1G内存,也能做JVM调优吗?
- IDEA常用快捷键及设置方法
- Oppo core making plan officially announced: the first chip or oppo M1
- Talk about MySQL transaction two-phase commit
- Mobilevit learning notes
- Software test interview question: please say who is the best person to complete these tests, and what is the test?
- 8000 word explanation of OBSA principle and application practice
猜你喜欢

一文读懂Plato Farm的ePLATO,以及其高溢价缘由

@Can component be used on the same class as @bean?
Excalidraw: an easy-to-use online, free "hand drawn" virtual whiteboard tool
![[day_4-review, basic concepts of objects and arrays - 1]](/img/57/750f12d5315b682d2aeec81f39dafb.png)
[day_4-review, basic concepts of objects and arrays - 1]

Openai issued a document to introduce the latest application of Dall · E 2: fully enter the field of artistic creation and design
![[2022 Niuke multi School Game 2] k-link with bracket sequence I](/img/95/9d6710bfb7b9282b4a06a5f61a1f08.png)
[2022 Niuke multi School Game 2] k-link with bracket sequence I

Daily Mathematics Series 60: February 29

怎么还有人问 MySQL 是如何归档数据的呢?

LinkedList underlying source code

MySQL execution process and order
随机推荐
关系型数据库的设计思想,20张图给你看的明明白白
哈希表的查找与插入及删除
MySQL执行过程及执行顺序
技术管理 - 一定要抓大放小
IDEA常用快捷键及设置方法
LInkedList底层源码
Talk about MySQL transaction two-phase commit
Mobilevit learning notes
紫光展锐:2020年将有数十款基于春藤510的5G终端商用
Common shortcut keys and setting methods of idea
枚举Enum的简单使用
Form of objects in memory & memory allocation mechanism
C语言-入门-语法-指针(十二)
XML writing gap animation popupwindow realizes the animation of emergence and exit
腾讯云[HiFlow】| 自动化 -------HiFlow:还在复制粘贴?
Log4j vulnerability is still widespread and continues to cause impact
Software testing interview question: what aspects should be considered when designing test cases, that is, which aspects should different test cases be tested for?
C language - Introduction - grammar - pointer (12)
Who is the sanctity of the six Chinese enterprises newly sanctioned by the United States?
Qmodbus library is used, and it is written as ROS node publishing topic and program cmakelist