fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace cosrobiese
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. int biegacze = Convert.ToInt32(Console.ReadLine());
  14. int[] tab = new int[100];
  15. for (int i = 0; i < biegacze; i++)
  16. {
  17. tab[i] = int.Parse(Console.ReadLine());
  18. }
  19. Console.WriteLine(tab.Sum());
  20. Console.ReadKey();
  21. }
  22. }
  23. }
  24.  
Success #stdin #stdout 0.02s 16844KB
stdin
Standard input is empty
stdout
0