Created
December 22, 2015 02:07
-
-
Save peter279k/e6c80578a1060ec0ea3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.*; | |
public class main{ | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
long result = 0; | |
while(input.hasNext()) { | |
long v = input.nextLong(); | |
long s = input.nextLong(); | |
result = v * s * 2; | |
System.out.print(result + "\r\n"); | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment