View difference between Paste ID: 0LFbQsm4 and z3hLZK8u
SHOW: | | - or go back to the newest paste.
1
//Rask paskutinę didžiausią reikšmę.
2
3
static int Max (int[] M)
4
{
5
	int max=0;
6-
	int index=0;
6+
7
	{
8
		if(max<=M[i])
9-
		if(max<M[i])
9+
10-
		{
10+
11
	return max;
12-
			index=i;
12+