Advertisement
spasnikolov131

Untitled

Apr 16th, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. using System;
  2.  
  3. namespace Best_Player
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. string tournamentName = Console.ReadLine();
  10. int countMatches = int.Parse(Console.ReadLine());
  11.  
  12. while (true)
  13. {
  14. string line = Console.ReadLine();
  15. if (line == "End of tournaments")
  16. {
  17. break;
  18. }
  19. for (int i = 0; i < countMatches; i++)
  20. {
  21. int myTeam = int.Parse(Console.ReadLine());
  22. int enemyTeam = int.Parse(Console.ReadLine());
  23.  
  24. }
  25. }
  26.  
  27.  
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement