当前位置:网站首页>How many times is PTA 1101 B than a
How many times is PTA 1101 B than a
2022-07-07 18:56:00 【Deng sb's father】
1101 B yes A How many times
#include <iostream>
using namespace std;
int main()
{
string A;
int D;
cin>>A>>D;
long long int a=stoi(A);
string B;
for(int i=A.length()-D;i<A.length();i++)
B=B+A[i];
for(int i=0;i<A.length()-D;i++)
B=B+A[i];
B=B+'\0';
long long int b= stoi(B);
double c=b*1.0/a;
printf("%.2f",c);
}
边栏推荐
- 2022年理财产品的一般收益率是多少?
- 數據驗證框架 Apache BVal 再使用
- How to open an account for wealth securities? Is it safe to open a stock account through the link
- The performance and efficiency of the model that can do three segmentation tasks at the same time is better than maskformer! Meta & UIUC proposes a general segmentation model with better performance t
- Datasimba launched wechat applet, and datanuza accepted the test of the whole scene| StartDT Hackathon
- Comparison and selection of kubernetes Devops CD Tools
- coming! Gaussdb (for Cassandra) new features appear
- Do you really understand sticky bag and half bag? 3 minutes to understand it
- GSAP animation library
- DeSci:去中心化科学是Web3.0的新趋势?
猜你喜欢

Wireshark分析抓包数据*.cap

Tsinghua, Cambridge and UIC jointly launched the first Chinese fact verification data set: evidence-based, covering many fields such as medical society

Industry case | digital operation base helps the transformation of life insurance industry

Antisamy: a solution against XSS attack tutorial

能同时做三个分割任务的模型,性能和效率优于MaskFormer!Meta&UIUC提出通用分割模型,性能优于任务特定模型!开源!...

A few simple steps to teach you how to see the K-line diagram

AI defeated mankind and designed a better economic mechanism

Nat address translation

Standard ACL and extended ACL

Differences between rip and OSPF and configuration commands
随机推荐
[C language] string function
2022-07-04 matlab读取视频帧并保存
DeSci:去中心化科学是Web3.0的新趋势?
CVPR 2022 - learning non target knowledge for semantic segmentation of small samples
Unlike the relatively short-lived industrial chain of consumer Internet, the industrial chain of industrial Internet is quite long
Cloud security daily 220707: Cisco Expressway series and telepresence video communication server have found remote attack vulnerabilities and need to be upgraded as soon as possible
低代码助力企业数字化转型会让程序员失业?
体总:安全有序恢复线下体育赛事,力争做到国内赛事应办尽办
The highest level of anonymity in C language
Learn open62541 -- [67] add custom enum and display name
debian10系统问题总结
What is the general yield of financial products in 2022?
NAT地址转换
Debian10 compile and install MySQL
go语言的字符串类型、常量类型和容器类型
Charles+drony的APP抓包
Recommend free online SMS receiving platform in 2022 (domestic and foreign)
[PaddleSeg源码阅读] PaddleSeg Validation 中添加 Boundary IoU的计算(1)——val.py文件细节提示
2022年推荐免费在线接收短信平台(国内、国外)
Reinforcement learning - learning notes 8 | Q-learning