ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1554. Multiplicative Functions

For example:
1
9
Spatarel Dan Constantin Re: What do I need to do for notinvertible functions? [1] // Problem 1554. Multiplicative Functions 19 Apr 2014 18:06
My AC solution outputs 0.

Apparently, the problem statement is incomplete. It should guarantee that for the given tests a solution always exists.
It is told that F is a multiplicative function. So F(1)=1 by definition.