All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Single Line Expression (Posted on 2008-01-27) Difficulty: 1 of 5
Give a single line "C type" expression to evaluate (-1)k using only +,-,* and % operators.

See The Solution Submitted by Praneeth    
No Rating

Comments: ( You must be logged in to post comments.)
  Subject Author Date
re(2): Whole numbers is reasonable assumption [Spoiler]Dej Mar2008-01-29 07:03:42
Hints/Tipsre: Whole numbers is reasonable assumptionGamer2008-01-28 13:46:14
Whole numbers?Erik O.2008-01-28 09:48:32
Questionre: SolutionDej Mar2008-01-27 22:17:06
SolutionSolutionKurious2008-01-27 11:36:52
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (4)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information