Saturday, 27 December 2014

UVA 10302 - Summation of Polynomials(c file)

Problem Type : Super Easy


#include<stdio.h>
main()
{
    long int x,sum;
    while((scanf("%ld",&x))==1)
    {
        sum=(x*(x+1)/2)*(x*(x+1)/2);
        printf("%ld\n",sum);
    }
    return 0;

}

No comments:

Post a Comment

ট্রিগার এর মাধ্যমে ডাটা ইনসার্ট - insert data using Database Trigger (Mysql)

সর্বপ্রথম আমরা প্রবলেমটা বুঝিঃ আমি একটা টেবিলের একটা কলামের ভ্যালুর উপর ডিপেন্ড করে আরেকটা কলামে ডাটা insert করব । এই কাজটা ট্রি...