Timeline for Make an alphabet searchlight!
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 10, 2017 at 14:02 | comment | added | Olivier Grégoire |
No problem! I allowed myself to edit your post, with a link towards an online interpreter. This is usually a good practice to show that no code issue happens! Also, your code is now 2 bytes shorter since you removed those () , but you hadn't updated your post with that, so I did it as well.
|
|
Sep 10, 2017 at 14:01 | history | edited | Olivier Grégoire | CC BY-SA 3.0 |
added 452 characters in body
|
Sep 9, 2017 at 17:16 | history | edited | Jimmy Johnson | CC BY-SA 3.0 |
formatting
|
Sep 9, 2017 at 17:11 | comment | added | Jimmy Johnson | Even with copy pasta typos are possible :). Not sure why I added that, but it is fixed now. Thank you. | |
Sep 9, 2017 at 17:10 | history | edited | Jimmy Johnson | CC BY-SA 3.0 |
removed an errant set of parenthesis
|
Sep 9, 2017 at 11:38 | comment | added | Olivier Grégoire |
Have you tried compiling this? Because it doesn't compile... String() a() isn't valid in Java...
|
|
Sep 8, 2017 at 16:58 | history | edited | Jimmy Johnson | CC BY-SA 3.0 |
added 758 characters in body
|
Sep 7, 2017 at 13:14 | comment | added | JollyJoker |
Avoid cast by using 'Z' instead of 90 and changing everything from int to char
|
|
Sep 7, 2017 at 12:51 | comment | added | JollyJoker | You can copy / paste some lambda boilerplate from here | |
Sep 7, 2017 at 12:46 | comment | added | Jimmy Johnson | Thanks for the tips! I'll edit my answer in a few hours with your improvements. | |
Sep 7, 2017 at 12:34 | comment | added | JollyJoker |
You can use n-> instead of ()-> even if there's no input. Using it to store a char inside the code might be ok.
|
|
Sep 7, 2017 at 11:59 | comment | added | JollyJoker |
You can give the answer as a method returning a String instead of a full program. Use Java 8 lambdas for the method. Combine nested for loops if you can find a way. The char 32 is space and 10 is newline; concatenate chars like ""+=c to build a String .
|
|
Sep 6, 2017 at 22:31 | history | answered | Jimmy Johnson | CC BY-SA 3.0 |