stifle867

joined 1 year ago
[โ€“] [email protected] 2 points 1 year ago

I'm still working on my part 1 ๐Ÿ˜ญ string parsing makes me feel so stupid haha. But I'm adamant on coming up with a "nice" solution even if the number of lines aren't minimal. I've got something quite nice at the moment and I anticipate coming in under 100 lines (including whitespace, comments, and formatting).

[โ€“] [email protected] 3 points 1 year ago (3 children)

I haven't been parsing the input string character by character and instead have been parsing into native data structures. It makes the code more verbose but it's how I want to do it. Unfortunately it does mean most of the time coming up with a solution is structuring the data so I'm hoping I come up with a faster way after a few days.

[โ€“] [email protected] 1 points 1 year ago

Don't worry China, we super promise not to militarise it ๐Ÿคž

[โ€“] [email protected] 4 points 1 year ago

It's enough to wash away cars and everything else alongside it.

[โ€“] [email protected] 10 points 1 year ago

I hate it when they quote a time but no timezone. 10.37PM according to who?

[โ€“] [email protected] 1 points 1 year ago

doubly weird suggestion for someone coming from iPhone for the first time

[โ€“] [email protected] 39 points 1 year ago (10 children)

All the code is GPLv3 so it will remain FOSS. There's no need to immediately switch to other apps. You can optionally fork then build the apps for yourself.

[โ€“] [email protected] 1 points 1 year ago

As an alternative could he compile your program?

[โ€“] [email protected] 10 points 1 year ago (2 children)

How do judges normally treat destruction of evidence? Do they not care who committed the crime and just make a ruling on how to infer it? I feel like the court would want to know who has committed something as serious as this but I'm not sure of the actual process for it.

[โ€“] [email protected] 1 points 1 year ago (2 children)

I would be interested to hear if you get far down that road. It sounds infinitely more difficult than running code and timing it.

Are you able to expand what problem lead you to this question (out of curiosity)?

[โ€“] [email protected] 1 points 1 year ago

I was trying so hard to avoid doing this and landed on a pretty nice solution (for me). It's funny sering everyone's approach especially when you have no problem running through that barrier that I didn't want to ๐Ÿ˜†

[โ€“] [email protected] 1 points 1 year ago (1 children)

2oneight - if you replace from left to right you get 21ight or 21. This doesn't work for part 2 as the answer should br 28.

view more: โ€น prev next โ€บ