随笔分类 -  高精度计算

摘要:ExponentiationTime Limit:500MSMemory Limit:10000KTotal Submissions:127046Accepted:31014DescriptionProblems 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.Th 阅读全文
posted @ 2014-01-21 12:28 ~~Snail~~ 阅读(296) 评论(0) 推荐(0)
摘要:ExponentiationProblems 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 write a program to compute the exact value ofRnwhereRis 阅读全文
posted @ 2014-01-21 12:24 ~~Snail~~ 阅读(300) 评论(0) 推荐(0)
摘要:OverflowWrite a program that reads an expression consisting of two non-negative integer and an operator. Determine if either integer or the result of the expression is too large to be represented as a ``normal'' signed integer (typeintegerif you are working Pascal, typeintif you are working 阅读全文
posted @ 2014-01-05 10:15 ~~Snail~~ 阅读(197) 评论(0) 推荐(0)