与‘基础算法-高精度’有关的日志

poj1220

maksyuki 发表于 oj 分类,标签:
0
poj1220

NUMBER BASE CONVERSION

Write a program to convert numbers in one base to numbers in a second base. There are 62 different digits:{ 0-9,A-Z,a-z }HINT: If you make a sequence of base conversions using the output of >>继续阅读

poj1060

maksyuki 发表于 oj 分类,标签: ,
0
poj1060

Modular multiplication of polynomials

Consider polynomials whose coefficients are 0 and 1. Addition of two polynomials is achieved by 'adding' the coefficients for the corresponding powers in the polynomials. The addition of coefficients is perform >>继续阅读

poj1001

maksyuki 发表于 oj 分类,标签:
0
poj1001

Exponentiation

Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the national debt is a taxing experience for many computer systems.

This problem requires that you >>继续阅读

hdu1042

maksyuki 发表于 oj 分类,标签:
0
hdu1042

N!

Problem Description

Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N! >>继续阅读

sgu112

maksyuki 发表于 oj 分类,标签:
0
sgu112

ab-ba

You are given natural numbers a and b. Find ab-ba.

Input

Input contains numbers a and b (1≤a,b≤100).

>>继续阅读