pearl doll
0
Newbie Poster
Recommended Answers
Jump to PostCube for integers without multiplication:
static int cube(int x) { int s = 0, c = 0; for (int i = 0; i < x; i++) { s += x; } for (int i = 0; i < x; i++) { c += s; } return c; …
All 4 Replies
pritaeas
2,194
¯\_(ツ)_/¯
Moderator
Featured Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
tinstaafl
1,176
Posting Maven
ddanbe
2,724
Professional Procrastinator
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.