Posts by Marlon Paranhos • 359 points
6 posts
-
3
votes1
answer3965
viewsQ: Print vector disregarding repeated values
Make an algorithm that reads a 50-element vector and prints the vector disregarding the repeated values. The code is giving the correct output, but if I type a repeated number, the program requests…
-
2
votes1
answer1720
viewsQ: Login screen on Android
I emulated a local server by XAMPP and started trying to develop a login screen for an Android application. It is working perfectly, but only when I log in through localhost(using my local IP…
-
2
votes1
answer246
viewsQ: Improve code to avoid slow particle collision
I need to divide space into cells. Each cell should be approximately the size of the particle radius so that a particle does not occupy more than 4 cells as in the illustration below: The r-ray…
-
9
votes1
answer261
viewsQ: Optimize the collision between particles
I need to optimize as much as possible the algorithm that makes the particles collide, is there anything that can be done to do that? And I also want to add a background image, it’s possible?…
-
9
votes2
answers990
viewsQ: How to verify collision between particles?
I need to know how to make each circle collide with each other along with the part of how I’m going to go in such a direction after this collision. This is the class of the main program window:…
-
3
votes1
answer1050
viewsQ: How to download images sequentially from a website using Wget?
I need to know where the error in the command is: wget http://shadowera.com/cards/se{001..200}.jpg I used the "shadowera" website for testing. I need to know how to save multiple images at once, and…