I didn't express myself properly... what I meant to say is, whatever the goal is, switching from Java to something else should generally be an improvement ;)
@Rainbolt Yea, businesses love their Java. If the goal is just to "get a job", it's not a bad choice. The people that go into programming just for a job tend to irritate me, though :)
@aditsu I'm trying to iterate over 32 5 m*, which has 33 million elements. I'm currently at 2 hours processor time and counting. Iterating over 32 5 # takes less than 5 five seconds.
Coin Tossing Time Travelers
king-of-the-hill java
Sandbox question: if you see grammar errors or unclear parts please edit it or ping me in chat.
In the future when Time Travel (TT) will be common coin tossing will become a serious mind-sport. To prepare for the future we create a competition ...
If someone could write an example entry (next to my 2) to check if it is usable, that would be great
CJam, 73 bytes
32q~:Q,m*{Q.&:|!},{Q{{2b5Ue[}%\}2*..-_z{{Wa/{_1bf|}%1a*}%\}2*z..|:|1a=}=p
This will work only using the Java interpreter. It should terminate eventually with default switches, but it becomes reasonably fast by increasing the maximum heap size.
At the cost of 6 more bytes (for a...
Chat-word-challenge: Can you replace every ? with a letter A-Z so that every straight line is a distinct english word in one direction or the other? There are three lines each of length 4, 3, 2, and 1, but the length 1 ones are not required.
?
? ?
? ? ?
? ? ? ?
For example
T
O F
G O O
S O T S
(soft, togs, sots, too, oof, goo, to, of, go)
Create a routine to calculate the position of each unit of a clock with an arbitrary number of units (minutes, hours, half-days, days, years, parsecs, quarter-quells, etc), where each unit can be equally sub-divided into an arbitrary number of sub-units; after n base units have elapsed.
Basical...
@MartinBüttner I'm not entirely sure that I'm on board with revising old challenges into catalogs. If significant enough revisions would be necessary then I feel like it would be worth it to simply post a new challenge as a catalog. If no significant revisions would be necessary then why change it?
@Calvin'sHobbies A tighter spec for comparable answers and a meaningful auto-generated leaderboard. If I just slap a leaderboard on the existing challenge, it will include all valid, semi-valid and invalid answers.