- 博客(11)
- 收藏
- 关注
原创 正数高精度运算
功能描述:进行高长度非负数据的高精度相加运算长度限制:受内存限制实现原理:栈的调用输入限制:正经用户的正常输入,相加的数据在同一换行前,数与数之间仅用一个空格隔开,以文件结束符为运行结束标志,输入样例如下:2.99792 3.1415926582.71828 520.1314郑重声明:在符合要求的输入情况下,仍然可能存在未明BUG,如果发现,请留言具体实现:#include &l...
2018-12-23 01:31:10
191
原创 第二期训练题 - 第三题
整除的尾数Time limit 1000 msMemory limit 32768 kB问题描述一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢?输入输入数据有若干组,每组数据包含二个整数a,b(0<a<10000, 10<b<100),若遇到0 0则处理结束。输出对应每组数据,将满足条件的所有尾数在一行内输出,格式见样
2018-12-14 17:36:16
259
原创 第二期练习题 - 第二题
Climbing WormTime limit 1000 msMemory limit 32768 kBProblem DescriptionAn inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to ...
2018-12-14 16:58:41
232
原创 第一期练习题 - 第八题
A + B Problem Too from Virtual Judge#include <iostream>using namespace std;int main(void){ int a, b; while(cin >> a >&am
2018-12-07 02:39:27
195
原创 第一期练习题 - 第七题
The volume of a sphere from Virtual Judge#include <stdio.h>#define PI 3.1415927int main(void){ double r; while(scanf("%lf", &r) != EOF) {
2018-12-07 02:25:46
199
原创 第一期练习题 - 第六题
The sort of ASCII from Virtual Judge#include <iostream>using namespace std;int main(void){ char array[3], temp; int i, j, min; bool flag = false; while(cin &
2018-12-07 02:03:20
209
原创 第一期训练题 - 第五题
Sort from Virtual Judge#include <iostream>#include <cstdio>#include <cstdlib>using
2018-12-07 01:13:19
261
原创 第一期练习题 - 第四题
A + B Problem from Virtual Judge#include <iostream>using namespace std;int main(void){ int a, b; while(cin >> a &amp
2018-12-05 15:24:37
243
原创 第一期练习题 - 第三题
Stones on the Table from CodeForces#include <iostream>using namespace std;int main(void){ int array[50]; int count, i, n; count = 0; cin >&am
2018-12-05 14:44:27
212
原创 第一期练习题 - 第二题
George and Accommodation from CodeForces#include <iostream>using namespace std;int main(void){ int n, count, now, max; int i; count = 0; cin >&am
2018-12-05 14:20:31
240
原创 第一期练习题 - 第一题
第一题1. String Task from CodeForces#include <iostream>using namespace std;int main(void){ char temp, array[201]; int count, i; count = i = 0; while(1) { temp = ci
2018-12-05 13:46:37
374
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人