|
Download 10929.md from EasyChCh/CPE_AI_Programming_Assistant_49_md: direct link, hf CLI and curl.
- Browser
- Download file 680 Bytes
-
https://huggingface.co/datasets/EasyChCh/CPE_AI_Programming_Assistant_49_md/resolve/main/10929.md
- Command line
-
hf download hf://datasets/EasyChCh/CPE_AI_Programming_Assistant_49_md/10929.md
-
curl -L -o 10929.md https://huggingface.co/datasets/EasyChCh/CPE_AI_Programming_Assistant_49_md/resolve/main/10929.md
680 Bytes
| ## Page 1 | |
| 10929 | |
| You can say 11 | |
| 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. | |
| Sample Input | |
| 112233 | |
| 30800 | |
| 2937 | |
| 323455693 | |
| 5038297 | |
| 112234 | |
| 0 | |
| Sample 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. |