En is ezt probaltam eloszor, de erre az eredmeny: -1702971904
Aztan az alabbival probalkoztam, de az sem az igazi.
namespace HelloWorld
{
class Program
{
static void Main(string[] args)
{
double res = 0;
for (int i=0; i<2000; i++) {
for (int j=0; j<1000000; j++) {
res +=Math.Pow( i, j);
}
}
Console.WriteLine(res.ToString());
}
}
}