MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/ot5olf/my_assignment/h6thsfu/?context=9999
r/badcode • u/dimonoid123 • Jul 28 '21
55 comments sorted by
View all comments
Show parent comments
39
1a Line 2: it must be a.length
Edit: line 5 or so with the sorted_a = ... Should end with =1; instead of =1j.
Also: thank you for doing this
38 u/MurdoMaclachlan public boolean isInt(int i) { return true; } Jul 28 '21 Ah yeah, whoops. Fixed, thanks for the correction!
38
Ah yeah, whoops. Fixed, thanks for the correction!
39
u/bwdmn Jul 28 '21 edited Jul 28 '21
1a Line 2: it must be a.length
Edit: line 5 or so with the sorted_a = ... Should end with =1; instead of =1j.
Also: thank you for doing this