大数
文章平均质量分 57
superkunn
这个作者很懒,什么都没留下…
展开
-
poj 1894 Alternative Scale of Notation
Alternative Scale of NotationTime Limit: 1000MS Memory Limit: 30000KTotal Submissions:2182 Accepted: 808DescriptionOne may define a map of strings over an alphabet ΣB = { C1, C2, . . . CB } of size B ...原创 2018-04-06 14:12:36 · 161 阅读 · 0 评论 -
a+b
#include <cstdio> #include <cstring> #include <iostream> using namespace std; char a[40005]; char b[40005]; void add(char *x,char *y){ char *w=x; int len1=strlen(x); ...原创 2018-04-25 17:20:21 · 109 阅读 · 0 评论 -
sgu 112 - a^b - b^a 大数
112. ab-batime limit per test: 0.25 sec. memory limit per test: 4096 KBYou are given natural numbers a and b. Find ab-ba.InputInput contains numbers a and b (1≤a,b≤100).OutputWrite answer to output.Sa...原创 2018-04-25 18:11:04 · 215 阅读 · 0 评论 -
sgu 111. Very simple problem 大数开方
111. Very simple problemtime limit per test: 0.25 sec. memory limit per test: 4096 KBYou are given natural number X. Find such maximum integer number that it square is not greater than X.InputInput fi...原创 2018-04-28 21:08:04 · 225 阅读 · 0 评论 -
sgu 299. Triangle 大数
299. TriangleTime limit per test: 0.5 second(s)Memory limit: 65536 kilobytesinput: standardoutput: standardIt is well known that three segments can make a triangle if and only if the sum of lengths of...原创 2018-04-29 17:41:23 · 108 阅读 · 0 评论