Problem 4

0

0 votes
Very-Easy
Problem

Solve

example 1
input
2 3
output
6

example 2
input
a b c d e f
output
6

Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?