View Code of Problem 124

import java.util.*;
public class Main {
	 public static void main(String[] args) {
		 Scanner in = new Scanner(System.in);
		int t = Integer.parseInt(in.nextLine());
		 for(int i =0;i<t;i++) {
			 String[] nm  =in.nextLine().split(" ");
			 int n=Integer.parseInt(nm[0]);
			 int m=Integer.parseInt(nm[1]);
			 String[] wel  =in.nextLine().split(" ");
			 int win = Integer.parseInt(wel[0]);
			 int equal= Integer.parseInt(wel[1]);
			 int lose = Integer.parseInt(wel[2]);
			 //int rank = n*(n+1);
			 int[] allmatch =new int[n];
 
		 }
	 }
}

Double click to view unformatted code.


Back to problem 124