From ab591a5c324263bd5900ce67c1d6cf01ed8c7487 Mon Sep 17 00:00:00 2001 From: Ritabrata Nag Date: Sat, 13 Jul 2024 12:40:57 +0530 Subject: [PATCH] Codeforces round 944 Div4 --- cf_round_944_div4_A.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cf_round_944_div4_A.java diff --git a/cf_round_944_div4_A.java b/cf_round_944_div4_A.java new file mode 100644 index 0000000..8260631 --- /dev/null +++ b/cf_round_944_div4_A.java @@ -0,0 +1,15 @@ +import java.util.Scanner; + +public class cf_round_944_div4_A { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int t = sc.nextInt(); + while (t --> 0){ + int num1 = sc.nextInt(); + int num2 = sc.nextInt(); + System.out.print(Math.min(num1, num2)+ " "); + System.out.println(Math.max(num1, num2)); + } + } +} +