Algorithm to improve high precision except high precision

问题描述
  给定a, b,求a/b。
输入格式
  输入两行,分别包含一个整数。
输出格式
  输出一行,为a/b的商。
样例输入
62349
64
样例输出
974
数据规模和约定
  1<=a<=10^10000, 1<=b<=10^10000

code show as below:

#include<stdio.h>
int main() {
    
    
	long long a,b;
	scanf("%lld%lld",&a,&b);
	printf("%lld",a/b);
	return 0;
}

Insert picture description here

Guess you like

Origin blog.csdn.net/mjh1667002013/article/details/115037745