As N can be of maximum length 10. so there are 4^9 set of 9 operators. above explanation is not seems correct but there are not more possibility to check , so you can check all possibility.
Hint:- 1. if there are all +,- operator than whatever be the brackets answer will be same. 2. if there are all * operator than whatever be the brackets answer will be same. Hope it helps. -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
