Sort by

recency

|

202 Discussions

|

  • + 0 comments

    import java.io.; import java.util.;

    public class Solution {

    public static void helper(ArrayList<String> arr)
    {
        for(int i = arr.indexOf("###") + 1 ; i  < arr.size();i++)
        {
            System.out.println(arr.get(i));
        }        
    }
    public static void main(String[] args) {
        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
        Scanner sc = new Scanner(System.in);
        int m = sc.nextInt();
        int n = sc.nextInt();
        ArrayList arr = new ArrayList();
        for(int i = 0; i < m ;i++)
        {
            arr.add(sc.nextInt());    
        }
        arr.add("###");
        for(int i = 0; i < n ;i++)
        {
            arr.add(sc.next());    
        }
        // System.out.println(arr);
        helper(arr);
    
    }
    

    }

  • + 0 comments

    The 3 Patti Blue app offers social features that allow players to interact with others, making it a social experience as well as a gaming one. Players can chat with opponents during the game, share their victories, and build friendships within the app. The game also offers the option to create private rooms and invite friends, which makes it ideal for those who want to play with a known group Click Here to get 3 Patti Blue for Android. These social features create a sense of community and belonging among players, enhancing the overall fun and engagement.

  • + 0 comments

    import java.util.*; public class Main{

    static Iterator func(ArrayList mylist){ Iterator it=mylist.iterator(); while(it.hasNext()){ Object element = it.next(); if(element.toString().contains("###"))//Hints: use instanceof operator

            break;
        }
      return it;
    

    } @SuppressWarnings({ "unchecked" }) public static void main(String []args){ ArrayList mylist = new ArrayList(); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); for(int i = 0;i

      mylist.add("###");
      for(int i=0;i<m;i++){
         mylist.add(sc.next());
      }
    
      Iterator it=func(mylist);
      while(it.hasNext()){
         Object element = it.next();
         System.out.println((String)element);
      }
    

    } }

  • + 0 comments
    import java.util.*;
    
    public class Main{
        
       static Iterator func(ArrayList mylist){
          Iterator it=mylist.iterator();
          while(it.hasNext()){
             Object element = it.next();
             if(element instanceof String)//Hints: use instanceof operator
    
                break;
            }
          return it;
          
       }
      
       @SuppressWarnings({ "unchecked" })
       public static void main(String []args){
          ArrayList mylist = new ArrayList();
          Scanner sc = new Scanner(System.in);
          int n = sc.nextInt();
          int m = sc.nextInt();
          for(int i = 0;i<n;i++){
             mylist.add(sc.nextInt());
          }
          
          mylist.add("###");
          for(int i=0;i<m;i++){
             mylist.add(sc.next());
          }
          
          Iterator it=func(mylist);
          while(it.hasNext()){
             Object element = it.next();
             System.out.println((String)element);
          }
       }
    }
    
  • + 0 comments

    the airbrush video watermark removal tool can be instrumental in content curation and aggregation. Platforms that aggregate content from multiple sources, such as news outlets, educational websites удалить водяной знак, or entertainment channels, often face the challenge of standardizing content presentation. Watermarks from various contributors can create a disjointed viewing experience. By removing these marks, the tool helps create a more unified and aesthetically pleasing presentation, improving the overall user experience on these platforms. This capability is particularly valuable for content creators, curators, and digital media companies looking to maintain a consistent visual identity.