Online Judge - 10929 - You can say 11
source_id: UVA
Time Limit: 3 s
Statement
Your job is, given a positive number N, determine if it is a multiple of eleven.
Input
The input is a file such that each line contains a positive number. A line containing the number ‘0’ is the end of the input. The given numbers can contain up to 1000 digits.
Output
The output of the program shall indicate, for each input number, if it is a multiple of eleven or not. End with a new line
Samples
Input
112233 30800 2937 323455693 5038297 112234 0
Output
112233 is a multiple of 11. 30800 is a multiple of 11. 2937 is a multiple of 11. 323455693 is a multiple of 11. 5038297 is a multiple of 11. 112234 is not a multiple of 11.
Discussion
Log in to join the discussion.
Log in
No discussion posts yet.
Recent Submissions
Yogurt
C/C++ · 2026-06-20 23:45