{"trustable":false,"sections":[{"title":"","value":{"format":"HTML","content":"\u003ch3 align\u003d\"right\"\u003e\r\n\t\u003ci\u003eReturn of the Aztecs\u003c/i\u003e\u003c/h3\u003e\r\n\u003ctable align\u003d\"center\" width\u003d\"100%\"\u003e\r\n\t\u003ctbody\u003e\r\n\t\t\u003ctr\u003e\r\n\t\t\t\u003ctd align\u003d\"center\" colspan\u003d\"2\"\u003e\r\n\t\t\t\t\u003cbr /\u003e\r\n\t\t\t\t\u003ch3 align\u003d\"right\"\u003e\r\n\t\t\t\t\t\u003ci\u003e\u003cspan class\u003d\"Apple-style-span\" style\u003d\"font-size: medium; font-style: normal; font-weight: normal; \"\u003eTime Limit: 1 second\u003cbr /\u003e\r\n\t\t\t\t\tMemory Limit: 32 MB\u003c/span\u003e\u003c/i\u003e\u003c/h3\u003e\r\n\t\t\t\u003c/td\u003e\r\n\t\t\u003c/tr\u003e\r\n\t\u003c/tbody\u003e\r\n\u003c/table\u003e\r\n\u003chr /\u003e\r\n\u003ctable\u003e\r\n\t\u003ctbody\u003e\r\n\t\t\u003ctr\u003e\r\n\t\t\t\u003ctd\u003e\r\n\t\t\t\t\u003cimg src\u003d\"http://uva.onlinejudge.org/external/104/p10469.gif\" /\u003e\u003c/td\u003e\r\n\t\t\t\u003ctd\u003e\r\n\t\t\t\t\u003cp\u003e\r\n\t\t\t\t\t6+9\u003d15 seems okay. But how come 4+6\u003d2?\u003c/p\u003e\r\n\t\t\t\tYou see, \u003cspan data-scayt_word\u003d\"Mofiz\" data-scaytid\u003d\"1\"\u003eMofiz\u003c/span\u003e had worked hard throughout his digital logic course, but when he was asked to implement a 32 bit adder for the laboratory exam, he did some mistake in the design part. After tracing the design for half an hour, he found his flaw!! He was doing \u003cspan data-scayt_word\u003d\"bitwise\" data-scaytid\u003d\"2\"\u003ebitwise\u003c/span\u003e addition but his carry bit always had zero output. Thus,\r\n\t\t\t\t\u003cp\u003e\r\n\t\t\t\t\t\u0026nbsp;\u003c/p\u003e\r\n\t\t\t\u003c/td\u003e\r\n\t\t\u003c/tr\u003e\r\n\t\u003c/tbody\u003e\r\n\u003c/table\u003e\r\n\u003cpre\u003e\r\n4 \u003d 00000000 00000000 00000000 00000100\r\n+6 \u003d 00000000 00000000 00000000 00000110\r\n----------------------------------------\r\n 2 \u003d 00000000 00000000 00000000 00000010\r\n\u003c/pre\u003e\r\n\u003cp\u003e\r\n\tIts a good thing that he finally found his mistake, but it was too late. Considering his effort throughout the course, the instructor gave him one more chance. \u003cspan data-scayt_word\u003d\"Mofiz\" data-scaytid\u003d\"3\"\u003eMofiz\u003c/span\u003e has to write an efficient program that would take \u003cb\u003e2 unsigned 32 bit decimal numbers\u003c/b\u003e as input, and produce an \u003cb\u003eunsigned 32 bit decimal number\u003c/b\u003e as the output adding in the same was as his circuit does.\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tInput\u003c/h3\u003e\r\n\u003cp\u003e\r\n\tIn each line of input there will be a pair of integer separated by a single space. Input ends at \u003cspan data-scayt_word\u003d\"EOF\" data-scaytid\u003d\"4\"\u003eEOF\u003c/span\u003e.\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tOutput\u003c/h3\u003e\r\n\u003cp\u003e\r\n\tFor each line of input, output one line -- the value after adding the two numbers in the \u0026quot;\u003cspan data-scayt_word\u003d\"Mofiz\" data-scaytid\u003d\"5\"\u003eMofiz\u003c/span\u003e way\u0026quot;.\u003c/p\u003e\r\n\u003ch3\u003e\r\n\tSample Input\u003c/h3\u003e\r\n\u003cpre\u003e\r\n4 6\r\n6 9\r\n\u003c/pre\u003e\r\n\u003ch3\u003e\r\n\tSample Output\u003c/h3\u003e\r\n\u003cpre\u003e\r\n2\r\n15\r\n\u003c/pre\u003e\r\n\u003chr /\u003e\r\n\u003cp\u003e\r\n\t\u003cb\u003eProblem setter: \u003cspan data-scayt_word\u003d\"Monirul\" data-scaytid\u003d\"6\"\u003eMonirul\u003c/span\u003e \u003cspan data-scayt_word\u003d\"Hasan\" data-scaytid\u003d\"7\"\u003eHasan\u003c/span\u003e (\u003cspan data-scayt_word\u003d\"Tomal\" data-scaytid\u003d\"8\"\u003eTomal\u003c/span\u003e), \u003cspan data-scayt_word\u003d\"CSE\" data-scaytid\u003d\"9\"\u003eCSE\u003c/span\u003e Dept, Southeast University, Bangladesh\u003c/b\u003e\u003c/p\u003e\r\n\u003cp\u003e\r\n\t\u003ci\u003e\u0026quot;that you used cut and paste there is really nerdy.\u0026quot; -- goose\u003cbr /\u003e\r\n\t\u0026quot;really? i use cut and paste all the time.\u0026quot; -- trip\u003cbr /\u003e\r\n\t\u003cbr /\u003e\r\n\t\u003c/i\u003e Collected from: \u003ca href\u003d\"http://www.madeofglass.com/invention/quote/\"\u003enerd quotes\u003c/a\u003e\u003c/p\u003e"}}]}