Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.IO;
- using System.Collections.Generic;
- using System.Collections.Specialized;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Globalization;
- namespace myloyorrr
- {
- class Program
- {
- static void Main()
- {
- using (StreamReader sr = new StreamReader("C:/Настя/in.txt"))
- {
- using (StreamWriter sw = new StreamWriter("C:/Настя/out.txt"))
- {
- int x, y;
- string s;
- while ((s = sr.ReadLine()) != null)
- {
- string[] a = s.Split(' ');
- x = int.Parse(a[0]);
- y = int.Parse(a[1]);
- sw.WriteLine(Math.Min(x, y));
- }
- }
- }
- }
- }
- }
- 48 56
- 12 59
- 78 32
- 20 11
- 6 89
- -8 9
- 1011 101
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement