搜索资源列表
一个可以对任意长整数进行加减的类
- 在Visual C++6.0 WinXp下编译通过采用类来实现,从CString继承而来数据运算的结果保存在CString类中理论上可对任意长的数据进行相加在Release目录下有可执行文件,将*.txt拖放到longadd.exe上即可,*.txt为数据文件-in Visual C Compiler 6.0 WinXp adopted under the category achieved redeem inherited from the Operational data stored in
ydaimaBigNum
- 件介绍: VC++数论计算的无符号大整数类及范例 VC++数论计算的无符号大整数类及范例,利用空闲时间编写了一个用于数论计算的无符号大整数类: //乘2运算,即 // a = a * 2^dwTimes 相当于左移一位二进制,低位补0 CUSuperInt& Double(DWORD dwTimes = 1) //除2运算 相当于右移一位二进制,高位边补0,低位舍弃 CUSuperInt& Half(DWORD dwTimes = 1)
Keda-Matrix
- 可达矩阵求法 动态分配一维数组 去掉字符串中的空格和回车 将Cstring转换成int数组-Matrix Method to dynamically allocate up to one-dimensional array of strings to remove spaces and carriage returns will be converted to int array Cstring
new
- 二维坐标系上有一些炸弹,每个炸弹有x,y坐标和爆炸后波及的范围r,这个r指的是跟自己曼哈顿距离r以内的点 就类似于扫雷那样,一个炸弹爆炸可能引起一片一片的炸弹炸出去 然后有一些询问,问点燃某个炸弹后会有多少个炸弹爆炸 已经炸过的就不算了 -#include <iostream> #include <vector> #include <algorithm> #include <cstdio>
