Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Numerics;
- namespace Exact_real_number_sum
- {
- class Program
- {
- static void Main(BigInteger[] numero)
- {
- BigInteger number = BigInteger.Parse(Console.ReadLine());
- BigInteger actual = 0;
- for (int i = 0; i < number; i++)
- {
- BigInteger n = BigInteger.Parse(Console.ReadLine());
- actual += n;
- }
- Console.WriteLine(actual);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement