Solution to the problem number 102501I of Codeforces - 102501I.

Any questions do not hesitate to contact.


#include <bits/stdc++.h>
using namespace std;

int main(){
    int n1,n2,n3; scanf("%d %d %d",&n1,&n2,&n3);
    printf("%d\n",((n1+1)*(n2+1))/(n3+1)-1);
    return 0;
}

Don't miss anything.

Keep in touch with Isaac Lozano Osorio!