User profile: carleye

User info
User name:carleye
History
Joined:
Number of posts:10
Latest posts:

Add the digits in 2^1000
So what should i do?

Add the digits in 2^1000
i tried this but i am getting answer 1189 [code]#include<iostream> #include<math.h> using namespace...

Add the digits in 2^1000
Error: Interger const too large to fit [code]#include<iostream> #include<math.h> using namespace ...

Add the digits in 2^1000
how do i add digits in 2^1000; i need idea on how to do it?

Runtime error: Process terminated with status 255
@ne555 yeah! it was because of array size being too small.