Advertisement
enigmjoe

Debug JAVA

Nov 15th, 2022 (edited)
669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.48 KB | None | 0 0
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Codechef
  7. {
  8.     public static void main (String[] args) throws java.lang.Exception{
  9.         scanner sc = new scaner();
  10.         int n = sc.nextInt();
  11.         int a[]=new a(n);
  12.         for(int i=0;i<n;i++){
  13.             a[i]=sc.nextint();
  14.         }
  15.         for(int i = n; i != 0; i++){
  16.             system.out.print(a[i]);
  17.         }
  18.     }
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement