我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Just a Numble C语言程序编写题

Problem Description
Now give you two integers n m, you just tell me the m-th number after radix point in 1/n,for example n=4,the first numble after point is 2,the second is 5,and all 0 followed

Input
Each line of input will contain a pair of integers for n and m(1<=n<=10^7,1<=m<=10^5)

Output
For each line of input, your program should print a numble on a line,according to the above rules

Sample Input
4 2
5 7
123 123

Sample Output
5
0
8

近期文章

  • oj#135. X天后的日期
  • c需要链表删除程序怎么理解
  • js原生代码操作数组
  • java中如何根据需求来选择用循环结构或选择结构
  • Seaborn函数库数据可视化图像不持久显示
  • eclipse运行代码出现如图提示我应该怎么设置(语言-java)
  • navicat点击连接卡死
  • ubuntu的桌面图标位于?
  • 关于#python#的问题:添加新的字段的语法是什么
  • 请教大神们,这个看不明白啥意思
  • c语言中enter键的作用
  • C# 中的字符串的用法
  • TeX Live Manager镜像源load repository报错
  • 自动生成用户名命名文件夹
  • Java下载文件遇到问题
  • PYTHON 搭建UDP服务器
  • springboot 排除默认的logback 改成slf4j报错
  • 关于个人免签系统搭建的问题
  • matlab多个数值计算
  • java中jpcap报错,如何解决?(开发工具-eclipse)

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华