acmsguru |
---|
Finished |
modis a remainder operator. All arithmetic operations are evaluated without overflow checking. Use standard "remainder" operator for programming languages (it differs from the mathematical version; for example in programming, while in mathematics). Use "
long long" type in C++, "
long" in Java and "
int64" in Delphi to store xi and all other values.
sample input | sample output |
2 2 9 | 4 |
sample input | sample output |
2305843009213693951 1 9223372036854775807 | 5 |
sample input | sample output |
-2 1 5 | 4 |
Name |
---|