My first programming exercise
You should use Markdown to write the exercise statement.
To write formulas or variables of the exercise use Latex, for example:
Johnny has apples that he would like to distribute among his friends,...
Johnny would like to distribute the apples using the formula: , where represents the amount of apples for each friend...
To add pictures, you must inform the size of the picture in percentage, using the syntax below:

Figure 1
Unfortunately, it is still not possible to upload pictures to Neps, for now, your pictures need to be stored in an external service (Google Drive, Dropbox, etc.).
To add code you must use it:
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << a + b << endl;
}
The languages supported are: C, C++, Python, Java and Javascript. If you want to use a language without syntax highlight (Portugol, for example) you should use the auto tag.
Input
You should create an optimal description of your exercise input.
Output
And an optimal description of the expected output.
Constraints
The constraints of the exercise should be informed through lists, as in the example below:
Input Samples | Output Samples |
---|---|
4 3 4 1 1 |
2
|
4 6 2 2 3 3 4 4 |
3
|