Subscribe For Free Updates!

We'll not spam mate! We promise.

Sunday, December 8, 2013

Solve of lightoj problem no 1000 - Greetings from LightOJ


import java.util.Scanner;
class Main{

public static void main(String[] args)
{
    Scanner a = new Scanner(System.in);
    int b,i,c,d; b=a.nextInt();
    for( i=1;i<=b;i++)
    {
    c=a.nextInt();
    d=a.nextInt();
    System.out.println("Case "+i+": "+(c+d)); }
    }

}

Socializer
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment

Contact Form

Name

Email *

Message *