Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
18 messages · Page 1 of 1 (latest)
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
⌛ This post has been reserved for your question.
Hey @clever raft! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
long[] powers = new long[n + 1];
for (int i = 0; i <= n; i++) {
powers[i] = (long) Math.pow(2, i); exponent
}
return powers;
}```
im not getting you?
new long[n] creates an empty array of length n. I do not know why you would want to return that
Please see the question and the return it requires https://i.imgur.com/9OHDri1.png
idk man!.........im not your personal debugger or anything!
@fair knot i submitted the one with power and it worked i think this codewar got problem
maybe!
thank you guys but now i ran into this kind of problem i highlight to them they asked me for evidence, then i highlighted that yesterday i asked them how to solve with the return type still that guy asked me for evidence
i am so glad there is this channel for me to verify things
CLOSE please!
Before your post will be closed, would you like to express your gratitude to any of the people who helped you? When you're done, click I'm done here. Close this post!.