Home » lightoj » Solve of lightoj problem no 1000 - Greetings from LightOJ Solve of lightoj problem no 1000 - Greetings from LightOJ Shahriyar 9:37 AM 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)); } }} Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment