Blue Bridge P0501 JAVA training algorithm

Enter two unsigned integers x, y, achieve multiplication by bit unsigned integer operation. Regardless of integer overflow.
Input:
  235 657
Output:
  154,395
ideas: This question is just beginning to see a little puzzled, wondering really just that simple thing? The result is the fact that it really is that simple, in fact, as time goes on, give me the biggest feeling is that each question as if it's life, although it looks simple and uninteresting, but it is real, so plain ... in fact, more big title is not a problem these little built up a thing. We have experienced so many problems of life, but forgot to get a better feel it's OK, if I do each question there will be a small theater, as a sign of a perfect ending, even in the process of doing the question will be bug, will do not going down, will think to say ... but as long as the outcome after the first well, a little Zaikuzailei what to do with it, our own life is not exactly true Me? Blue Bridge Cup for me was just a good time university, but is it not your good times, only Cipian records do question sentiment, hope can with them, encourage each other! !

	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int x=scanner.nextInt();
		int y=scanner.nextInt();
		System.out.println(x*y);
	}

Small Theater: I'm Born use! !

Published 108 original articles · won praise 113 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43771695/article/details/104674434