RosettaCodeData/Task/Zeckendorf-arithmetic/C++/zeckendorf-arithmetic-3.cpp

11 lines
160 B
C++
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
int main(void) {
N G;
G = 1000N;
G -= 101N;
std::cout << G << std::endl;
G = 10101010N;
G -= 1010101N;
std::cout << G << std::endl;
return 0;
}