Clash of Code - near-impossible problem?

I’ve been trying to figure out this problem all day, but i’ve failed every time, and i’m very curious as to what the solution is. The first tests are simple but the last ones make it so complex

input: 3 3 5
output:45

input: 2 1 1
output: 2

input: 10 5 7
output:175

input: 2 3 50
output: 3775

if I could just get a hint or anything to possibly point me in the right direction, i’d greatly appreciate it.

I don’t get that too

3
3 3
3 3 3
3 3 3 3
3 3 3 3 3

== 3 + 6 + 9 + 12 + 15 = 45

10
10 5
10 5 5
10 5 5 5
10 5 5 5 5
10 5 5 5 5 5
10 5 5 5 5 5 5 = 175

Hello !

I’ve approved this one.
Like a lot of clash, the reverse version is not easy to find. You must have either some luck, a good logic or knowledge of the clash. But i don’t think this one is really harder than that.

Hint 1: Think about sequences
Hint 2: Arithmetic or geometric ?
Hint 3: Multiplication or sum ?

Good luck ! :smiley:

PS: It seems that this clash put a lot of people in trouble, i’ve removed the reverse mode.

1 Like