Posts by JoubertJoe .Vieira Lellis • 29 points
5 posts
-
0
votes1
answer98
viewsA: Removal of Duplicate Elements : divide and Conquer
Well, in the end I managed to modify an algorithm of MERGESORT, what I do is to exchange the repeated elements for 0. static void merge(int[] A, int p, int q, int r) { int[] aux = new int[r - p +…
-
0
votes1
answer98
viewsQ: Removal of Duplicate Elements : divide and Conquer
I’m having trouble getting an algorithm that removes duplicate elements in an array (can only be integers), which uses the method Divide And Conquer. I am in need for a college job, and…
-
0
votes3
answers264
viewsA: Source code does not compile
Try to use : if (litros = parede*2)/(10){ printf("sao necessarios (litros):"); } scanf("%f", &litros); Never forget to put & when using Scanf, if you want to print only two dpois numbers…
-
1
votes0
answers101
viewsQ: My code does not send email to Gmail, but sends to Hotmail
My code for some reason does not send emails to Gmail, well, at least not enough emails. This is a college job, I got the score, so no rush, but it’s driving me crazy, what’s the problem? Well, I…
-
1
votes0
answers495
viewsQ: Search Width and Depth in a graph
I need to implement a system of visits, and the search in Width (graphs). How to proceed? [EDIT] I would like to know the best way to make this algorithm work for Graph as well, because it is…