> For the complete documentation index, see [llms.txt](https://wenbo-notes.gitbook.io/coding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wenbo-notes.gitbook.io/coding/kattis/easy/arithmetic-functions.md).

# Arithmetic Functions

## Question

{% embed url="<https://open.kattis.com/problems/arithmeticfunctions>" %}

## Solution

### Idea

Quite simple question, just follow the instructions.

### Code

{% @github-files/github-code-block url="<https://github.com/mendax1234/Coding-Problems/blob/main/kattis/arithmeticfunctions/arithmeticfunctions.cpp>" %}
