To the Top

Navigation Menu

Search

Comments (260)

Your Email (Domain Part Not Exposed):

Your Comments:

Privately By Mail Colors More Smileys S x y @

Verification (Click Image 2 Refresh):

    1.     - 2023-12-23 12:43:45 PM - Application
  

    2.     - 2023-12-23 12:43:44 PM - Application
  

    3.     - 2023-12-23 12:43:43 PM - Application
  

    4.     - 2023-12-23 12:43:42 PM - Application
  

    5.     - 2023-12-23 12:43:41 PM - Application
  

    6.     - 2023-12-23 12:43:40 PM - Application
  

    7.     - 2023-12-21 05:44:33 PM - Application
  

    8.     - 2023-12-21 05:43:38 PM - Application
  

    9.     - 2023-12-21 05:43:37 PM - Application
  

    10.     - 2023-12-21 05:43:36 PM - Application
  

    11.     - 2023-12-21 05:43:35 PM - Application
  

    12.     - 2023-12-21 05:43:34 PM - Application
  

    13.     - 2023-12-21 05:43:33 PM - Application
  

    14.     - 2021-07-05 09:05:17 AM - Life Record
 public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
int[] input = {8, 2, 3, 4, 0};
int n = input.length;
int witness = 0;
int max_so_far = Integer.MIN_VALUE;
for(int i = n-1 ; i >= 0 ; i--){
if(input[i] > max_so_far){
witness++;
max_so_far = input[i];
}
}
System.out.println(witness);
}
}
 

    15.     - 2019-12-10 09:16:58 AM - Comments.All
 test 

    16.     - 2017-10-13 11:06:45 PM - Software.Logo
 test 


Page Edited: October 30 2020 14:21:08 | RSS Subscription
How to Cook a Perfect Steak? | <meta name="robots" content="noindex, follow" />