0_0_13129303_23990.cpp:20:79: error: stray '#' in program
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.
^
0_0_13129303_23990.cpp:43:1: error: stray '\243' in program
source :
^
0_0_13129303_23990.cpp:43:1: error: stray '\272' in program
0_0_13129303_23990.cpp:44:1: error: stray '\267' in program
分析:对于此题做法有两种:其一,使2字符串的中的字符数字减去'0',逐个相加大于等于10的可以使本位减10,下一位自增1,后面的处理就非常简单了;其二,便是读入字符串后先让各个字符减'0',一一对应存入整形数组中;之后再相加。对于2种方法大致是相同的,都要从后面向前加,逢十进位,以及数组初始化均要初始为0,一边方便运算。
^
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\316' in program
0_0_13129303_23990.cpp:44:1: error: stray '\366' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\272' in program
0_0_13129303_23990.cpp:44:1: error: stray '\266' in program
0_0_13129303_23990.cpp:44:1: error: stray '\324' in program
0_0_13129303_23990.cpp:44:1: error: stray '\323' in program
0_0_13129303_23990.cpp:44:1: error: stray '\332' in program
0_0_13129303_23990.cpp:44:1: error: stray '\264' in program
0_0_13129303_23990.cpp:44:1: error: stray '\313' in program
0_0_13129303_23990.cpp:44:1: error: stray '\314' in program
0_0_13129303_23990.cpp:44:1: error: stray '\342' in program
0_0_13129303_23990.cpp:44:1: error: stray '\327' in program
0_0_13129303_23990.cpp:44:1: error: stray '\366' in program
0_0_13129303_23990.cpp:44:1: error: stray '\267' in program
0_0_13129303_23990.cpp:44:1: error: stray '\250' in program
0_0_13129303_23990.cpp:44:1: error: stray '\323' in program
0_0_13129303_23990.cpp:44:1: error: stray '\320' in program
0_0_13129303_23990.cpp:44:1: error: stray '\301' in program
0_0_13129303_23990.cpp:44:1: error: stray '\275' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\272' in program
0_0_13129303_23990.cpp:44:1: error: stray '\306' in program
0_0_13129303_23990.cpp:44:1: error: stray '\344' in program
0_0_13129303_23990.cpp:44:1: error: stray '\322' in program
0_0_13129303_23990.cpp:44:1: error: stray '\273' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\254' in program
0_0_13129303_23990.cpp:44:1: error: stray '\312' in program
0_0_13129303_23990.cpp:44:1: error: stray '\271' in program
0_0_13129303_23990.cpp:44:1: error: stray '\327' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\267' in program
0_0_13129303_23990.cpp:44:1: error: stray '\373' in program
0_0_13129303_23990.cpp:44:1: error: stray '\264' in program
0_0_13129303_23990.cpp:44:1: error: stray '\256' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\304' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\320' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\304' in program
0_0_13129303_23990.cpp:44:1: error: stray '\327' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\267' in program
0_0_13129303_23990.cpp:44:1: error: stray '\373' in program
0_0_13129303_23990.cpp:44:1: error: stray '\312' in program
0_0_13129303_23990.cpp:44:1: error: stray '\375' in program
0_0_13129303_23990.cpp:44:1: error: stray '\327' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\274' in program
0_0_13129303_23990.cpp:44:1: error: stray '\365' in program
0_0_13129303_23990.cpp:44:1: error: stray '\310' in program
0_0_13129303_23990.cpp:44:1: error: stray '\245' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\254' in program
0_0_13129303_23990.cpp:44:1: error: stray '\326' in program
0_0_13129303_23990.cpp:44:1: error: stray '\360' in program
0_0_13129303_23990.cpp:44:1: error: stray '\270' in program
0_0_13129303_23990.cpp:44:1: error: stray '\366' in program
0_0_13129303_23990.cpp:44:1: error: stray '\317' in program
0_0_13129303_23990.cpp:44:1: error: stray '\340' in program
0_0_13129303_23990.cpp:44:1: error: stray '\274' in program
0_0_13129303_23990.cpp:44:1: error: stray '\323' in program
0_0_13129303_23990.cpp:44:1: error: stray '\264' in program
0_0_13129303_23990.cpp:44:1: error: stray '\363' in program
0_0_13129303_23990.cpp:44:1: error: stray '\323' in program
0_0_13129303_23990.cpp:44:1: error: stray '\332' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\310' in program
0_0_13129303_23990.cpp:44:1: error: stray '\323' in program
0_0_13129303_23990.cpp:44:1: error: stray '\332' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\304' in program
0_0_13129303_23990.cpp:44:1: error: stray '\277' in program
0_0_13129303_23990.cpp:44:1: error: stray '\311' in program
0_0_13129303_23990.cpp:44:1: error: stray '\322' in program
0_0_13129303_23990.cpp:44:1: error: stray '\324' in program
0_0_13129303_23990.cpp:44:1: error: stray '\312' in program
0_0_13129303_23990.cpp:44:1: error: stray '\271' in program
0_0_13129303_23990.cpp:44:1: error: stray '\261' in program
0_0_13129303_23990.cpp:44:1: error: stray '\276' in program
0_0_13129303_23990.cpp:44:1: error: stray '\316' in program
0_0_13129303_23990.cpp:44:1: error: stray '\273' in program
0_0_13129303_23990.cpp:44:1: error: stray '\274' in program
0_0_13129303_23990.cpp:44:1: error: stray '\365' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\254' in program
0_0_13129303_23990.cpp:44:1: error: stray '\317' in program
0_0_13129303_23990.cpp:44:1: error: stray '\302' in program
0_0_13129303_23990.cpp:44:1: error: stray '\322' in program
0_0_13129303_23990.cpp:44:1: error: stray '\273' in program
0_0_13129303_23990.cpp:44:1: error: stray '\316' in program
0_0_13129303_23990.cpp:44:1: error: stray '\273' in program
0_0_13129303_23990.cpp:44:1: error: stray '\327' in program
0_0_13129303_23990.cpp:44:1: error: stray '\324' in program
0_0_13129303_23990.cpp:44:1: error: stray '\324' in program
0_0_13129303_23990.cpp:44:1: error: stray '\366' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\254' in program
0_0_13129303_23990.cpp:44:1: error: stray '\272' in program
0_0_13129303_23990.cpp:44:1: error: stray '\363' in program
0_0_13129303_23990.cpp:44:1: error: stray '\303' in program
0_0_13129303_23990.cpp:44:1: error: stray '\346' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\304' in program
0_0_13129303_23990.cpp:44:1: error: stray '\264' in program
0_0_13129303_23990.cpp:44:1: error: stray '\246' in program
0_0_13129303_23990.cpp:44:1: error: stray '\300' in program
0_0_13129303_23990.cpp:44:1: error: stray '\355' in program
0_0_13129303_23990.cpp:44:1: error: stray '\276' in program
0_0_13129303_23990.cpp:44:1: error: stray '\315' in program
0_0_13129303_23990.cpp:44:1: error: stray '\267' in program
0_0_13129303_23990.cpp:44:1: error: stray '\307' in program
0_0_13129303_23990.cpp:44:1: error: stray '\263' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\274' in program
0_0_13129303_23990.cpp:44:1: error: stray '\362' in program
0_0_13129303_23990.cpp:44:1: error: stray '\265' in program
0_0_13129303_23990.cpp:44:1: error: stray '\245' in program
0_0_13129303_23990.cpp:44:1: error: stray '\301' in program
0_0_13129303_23990.cpp:44:1: error: stray '\313' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\273' in program
0_0_13129303_23990.cpp:44:1: error: stray '\306' in program
0_0_13129303_23990.cpp:44:1: error: stray '\344' in program
0_0_13129303_23990.cpp:44:1: error: stray '\266' in program
0_0_13129303_23990.cpp:44:1: error: stray '\376' in program
0_0_13129303_23990.cpp:44:1: error: stray '\243' in program
0_0_13129303_23990.cpp:44:1: error: stray '\254' in program
0_0_13129303_23990.cpp:44:1: error: stray '\261' in program
0_0_13129303_
|