Saturday, January 3, 2015

Solution of 1293. Eniya ( Timus Online Judge )

#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>
using namespace std;
#define pf printf
#define sf scanf
typedef long long ll;


int main()
{
    int n, a, b;
    sf("%d%d%d", &n, &a, &b);
    pf("%d\n", (a*b*n*2));

}


1 comment:

  1. I am new programmer. I learn essential things from your blog.Thank you.

    ReplyDelete

Compare equality of two string in C

#include <stdio.h> #include<string.h> int main() {     char* country = "Bangladesh";     char* country2;     ...