diff --git a/TRICOIN.java b/TRICOIN.java new file mode 100644 index 0000000..19b7cc6 --- /dev/null +++ b/TRICOIN.java @@ -0,0 +1,30 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ + +/** + * + * @author jai sudh + */ +import java.util.*; +class TRICOIN{ + public static void main(String args[]){ + Scanner sc=new Scanner(System.in); + int T = sc.nextInt(); + int[] res=new int[T]; + for(int a=0;a0;i++,r++){ + if(no_Coin