Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
'Looks like you've solved it'
Do the problem first on an IDE like eclipse then transfer your code after you have solved it, that way you can easily debug your code.
added rust translation https://www.codewars.com/kumite/5ee26ec11434c300106e756a?sel=5ee26ec11434c300106e756a
Not a kata issue. You're not meant to write a function.
If you are using a return statement and receive the following error:
response received but no data was written to stdout or stderr
, try removing your return statement and re-run the tests.I mean
public static int
Ah does this mean the int is immutable and I should declare it again?
This comment is hidden because it contains spoiler information about the solution
My solution was exactly like this and I'm getting the error:
class Goals {
public static int laLigaGoals = 43;
public static int championsLeagueGoals = 10;
public static int copaDelReyGoals = 5;
public static int totalGoals;
totalGoals = laLigaGoals + championsLeagueGoals + copaDelReyGoals;
}
I'm trying to debug using System.out.println and can't see output on the output screen or the debugger in chrome. How can I see what I'm trying to debug?
You have to "return" the result, not to print it on the screen... Enough help;-)?
I'm assuming this is in Ruby? I don't know it... one for you Giacomo :D
This comment is hidden because it contains spoiler information about the solution