F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

����A+B

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 16032    Accepted Submission(s): 5608


Problem Description
��������������25λ�Ļ���������A��B������A+B����Ҫע����ǣ��ڻ����ϣ��������ǵ�һ���Ƶģ���nλ�Ľ��ƾ��ǵ�n�����������磺�����ϵ�10������2���ڻ����ϼ�Ϊ��1,0������Ϊ���Ǹ�λ����2���Ƶģ������ϵ�10������38���ڻ����ϼ�Ϊ��1,1,1,0������Ϊ���Ǹ�λ����2���Ƶģ�ʮλ����3���Ƶģ���λ����5���Ƶģ�ǧλ����7���Ƶġ���
 

Input
��������������ɲ���������ÿ����������ռһ�У�������������������A��B������������������λ���ö��ŷָ���A��B֮����һ���ո�������A��BΪ0ʱ�����������Ӧ�Ľ����Ҫ�����
 

Output
��ÿ�������������1�У������DZ�ʾ����A+B��ֵ��
 

Sample Input
1,0 2,1 4,2,0 1,2,0 1 10,6,4,2,1 0 0
 

Sample Output
1,0,1 1,1,1,0 1,0,0,0,0,0
 

Source
 

Statistic | Submit | Discuss | Note
Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-08-07 14:34:53, Gzip enabled