CarryProblem code: DPC101 |
Children are taught to add multi-digit numbers from right-to-left one digit at a time. Many find the "carry" operation - in which 1 is carried from one digit position to be added to the next - to be a significant challenge. Your job is to count the number of carry operations for each of addition problem so that educators may assess their difficulty.
Input
Each line of input contains two unsigned integers less than 10 digits.
The last line of input contains 0 0.
Output
For each line of input except the last output the number of carry operations that would result from adding the two numbers, in the format shown below.
Sample Input
123 456
555 555
123 594
0 0
Sample Output
No carry operation.
3 carry operations.
1 carry operation.
| Author: | rushikesh30 |
| Date Added: | 25-02-2010 |
| Time Limit: | 5 sec |
| Source Limit: | 50000 Bytes |
| Languages: | BF, C, C99 strict, CPP 4.0.0-8, CPP 4.3.2, CS2 |
Comments

Fetching successful submissions

@Organizer: I tried searching
@Organizer: I tried searching more info about this contest but couldn't find any.Is this internal Campus contest or part of some Techfest if it's part of TechFest can you provide us the link of hosting site.
Thanks
Really even i dint get any
Really even i dint get any link.
organizers can you help?
does less than 10 inlude 10
does less than 10 inlude 10
I am the Organizer. This
I am the Organizer.
This contest is a part of Tech-Days2010 and Microsoft DreamSpark Yatra organized by Microsoft Student Partner India Team and supported by Microsoft Academia Team.
Our UnderConstruction WebSite is at www.tech-days2010.com
and to register visit http://bit.ly/RegisterDevCon
Please Redirect Your Quries
Please Redirect Your Quries to dreamsparkyatra@gmail.com (Use Gtalk, if you don't get immediate response, please mail your Query)
About the Carry Problem, We'll sort it out if there's a problem. Please check back again at 00:00 hours tonight.
Moreover when you are registering at http://bit.ly/RegisterDevCon , you need not pay if you are attending only online Events. But registration is compulsory to get prizes and Certis.
For the Carry Question I
For the Carry Question I Suggest you check back tonight at 00:00 hours. We'll try to fix in case there is any error.
Redirect all your Queries to
Redirect all your Queries to dreamsparkyatra@gmail.com Use Gtalk. If you dont get immediate response you can mail your queries to the same address.
@admin check your test cases.
@admin
check your test cases.
Please check out your test
Please check out your test cases as i think there is some problem with your test cases
Have you written to give a
Have you written to give a the fullstop at the end.That may be the problem in test case.
@All Errors have been
@All
Errors have been corrected. You can resubmit your codes for the Carry Problem.
@Pratyush Verma Nice Dude.
@Pratyush Verma
Nice Dude. You are the hope of BIT Mesra and MSTC
http://mstc-bitmesra.ning.com
@ALL Please mail your
@ALL
Please mail your CodeChef ID, your name, your Institutions Name, Your Address(Where you want Posters, Certis, Goodies to be delivered, (No. of deliveries will depend on our budget)) to dreamsparkyatra@gmail.com For Updates follow http://twitter.com/dreamsparkyatra .
Happy Holi and Happy Coding!
@All You can mail after the
@All
You can mail after the CONTEST!
@All Check out the DreamSpark
@All
Check out the DreamSpark Professional Programming Contest #2 on 13th March 18:00 hours IST. We will send Posters to Participants by Post to promote the Contest Series. We'll also try to Send Participation E-Certis.