Posts by Rafael Luan • 40 points
4 posts
-
0
votes3
answers56
viewsA: Python Problem with exercise
Good afternoon. Follow the changes that will make your code work. What were the mistakes? 1 - the isPerfec function kept returning itself, when it should return True 2 - isPerfect return happened…
-
0
votes2
answers183
viewsA: remove the first and last character of a string in C
Use the table as Natan replies. This excerpt ((char str[10] = "Teste321!")) didn’t work here with me so I did a for. #include <stdio.h> #include <stdlib.h> int main() { char string[10],…
canswered Rafael Luan 40 -
0
votes1
answer70
viewsQ: Algorithm performance in JAVA
Good afternoon, you guys. I have the following exercise to deliver: Challenge Mr Milli, Petland City resident, is the famous owner of the world’s largest board game factory. Recently, he had the…
-
0
votes0
answers36
viewsQ: Alternative to allow_url_fopen using xml and geolocation
Meta: User type an address and I must recover it by means of geolocation. Problem: The code below works locally and returns the latitude and longitude value. However, I need it to work on the…