Input file: | Standard input | Time limit: | 5 sec | |
Output file: | Standard output | Memory limit: | 512 Mb |
You are to create .cpp
file with implementation of num.h
Constructor of Num
should store value
modulo modulo
.
By default, modulo
is equal to 0. In that case modulo operation
should not be applied to value
.
Copy constructor should only copy
value
value. modulo
must be set to zero in copy constructor.