Posts by Léo Ramos Andrade • 31 points
3 posts
-
-1
votes1
answer32
viewsQ: Diagonal Difference Hacker Rank Kotlin My solution approves in some but fails in the rest
fun diagonalDifference(arr: Array<Array<Int>>): Int { var tamanho = arr.size - 1 var i = 0 var diagonal1 = 0 var diagonal2 = 0 for(i in 0 .. tamanho){ diagonal1 += arr[i][i] diagonal2 +=…
-
2
votes1
answer105
viewsQ: addEventListeners Javascript
Guys I’m trying to create a game like Snake for two players and the way I programmed to move the snakes I would like to use 'wsad' for player 1 and arrows in player 2 //--- JOGADOR 1 APERTA TECLA…
javascriptasked Léo Ramos Andrade 31 -
0
votes1
answer1077
viewsQ: Files . jar do not open
Hello I would like a help, I created a basic java project but the file . jar does not open. I already have the jdk set Microsoft Windows [version 10.0.14393] (c) 2016 Microsoft Corporation. All…
javaasked Léo Ramos Andrade 31