#include using namespace std; void Bubblesort(int* Array, const int size); int main(void){ int L,N; cin >> L >> N; int* Array = new int [N]; for(int i=0; i> Array[i]; } Bubblesort(Array, N); int count=0; int t=0; for(int i=0; iL){ break; } count++; } cout << count << endl; } void Bubblesort(int* Array, const int size){ for(int i=0; iArray[i+j]){ int t = Array[i]; Array[i] = Array[i+j]; Array[i+j] = t; } } } }