-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
36 lines (29 loc) · 794 Bytes
/
main.cpp
File metadata and controls
36 lines (29 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include<iostream>
#include"BigInteger.h"
int main() {
BigInteger res("159");
BigInteger res1("7");
BigInteger reso = res%res1;
reso.printBigInteger();
BigInteger bg31("687892452");
BigInteger bg1_mul1("687892452");
BigInteger bgg_mul1 = bg31/bg1_mul1;
bgg_mul1.printBigInteger();
BigInteger bg3("123");
BigInteger bg1_mul("210");
BigInteger bgg_mul = bg3*bg1_mul;
bgg_mul.printBigInteger();
BigInteger bg("1500");
BigInteger bg1("25");
BigInteger bgg = bg1-bg;
bgg.printBigInteger();
BigInteger b("999");
BigInteger b1("1000");
std::cout<<(b > b1) <<" " <<(b< b1) <<" " <<(b == b1);;
std::cout<<std::endl;
BigInteger bg_sum("78923556");
BigInteger bg1_sum("7895544");
BigInteger bggg = bg1_sum + bg_sum;
bggg.printBigInteger();
return 0;
}