Solution For Mathematics challenge-Army Game-HackerRank

 

C++ solution for hackerRank Mathematics challenge-Army Game

-Dinesh Kumar E 

Code:

#include<iostream>
#include<cmath>
using namespace std;
int main()
{
int n,m,h;
cin>>n>>m;
h=((n+1)/2)*((m+1)/2);
cout<<h;
}

Comments

Popular Posts