Skip to content

Commit

Permalink
Codeforces round 944 Div4
Browse files Browse the repository at this point in the history
  • Loading branch information
Ritabrata Nag authored and Ritabrata Nag committed Jul 13, 2024
1 parent 49ca7dc commit ab591a5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cf_round_944_div4_A.java
Original file line number Diff line number Diff line change
@@ -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));
}
}
}

0 comments on commit ab591a5

Please sign in to comment.