杭电计算机笔试题

时间:2024-10-23 07:00:40 面试笔试 我要投稿
  • 相关推荐

杭电计算机笔试题

  第一题是:一个长整型的数,从低位起取出奇数位组成一个新的数输出。

杭电计算机笔试题

  第二题是杭电acm1002题。

  a + b problem ii

  problem description

  i have a very simple problem for you. given two integers a and b, your job is to calculate the sum of a + b.

  input

  the first line of the input contains an integer t(1<=t<=20) which means the number of test cases. then t lines follow, each line consists of two positive integers, a and b. notice that the integers are very large, that means you should not process them by using 32-bit integer. you may assume the length of each integer will not exceed 1000.

  output

  for each test case, you should output two lines. the first line is "case #:", # means the number of the test case. the second line is the an equation "a + b = sum", sum means the result of a + b. note there are some spaces int the equation. output a blank line between two test cases.

  sample input

  2

  1 2

  112233445566778899 998877665544332211

  sample output

  case 1:

  1 + 2 = 3

  case 2:

  112233445566778899 + 998877665544332211 = 1111111111111111110

【杭电计算机笔试题】相关文章:

数电_模电_单片机等的面试题目11-20

中国银行笔试题回顾,新鲜笔经!11-21

平安杭分的二面面试11-20

迅雷JAVA广州站二笔笔试题目分享11-21

2017年计算机基础培训试题及答案02-15

大唐移动测试工程师笔经,笔试题目分享11-21

旧帖里面找的往年笔试题目和一个电面面试题库!11-20

计算机二级VB笔试试题(含答案)11-21

2014广西计算机联考一级笔试模拟试题及答案02-25

网易笔经11-11