<commit_before><commit_msg>nondecending<commit_after>package org.shkim.codility.test;

public class NonDecending
{

	private static boolean solution(int A[])
	{

		int N = A.length;

		int cnt = 0;
		int temp = 0;

		for (int i = 0; i < N; i++)
		{
			if (A[i] > temp)
			{
				temp = A[i];
			} else
			{
				if (i != N - 1 && A[i] == A[i + 1])
				{
					continue;
				}
				cnt++;
			}
		}

		if (cnt > 1)
		{
			return false;
		}

		return true;
	}

	public static void main(String[] args)
	{
		int A[] = { 1, 5, 3, 3, 7 };
		System.out.println(solution(A));
	}
}
{'fraction_non_alphanumeric': 0.1728395061728395, 'fraction_numerical': 0.019400352733686066, 'mean_word_length': 2.138121546961326, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '519766', 'n_tokens_mistral': 299, 'n_tokens_neox': 237, 'n_words': 61}