Grading Students

Read the lesson → understand the pattern → then code. Tutor works offline (built-in teacher); optional Cursor/Gemini keys upgrade chat quality.

Topic refresher: HackerRank Warmup

Classic warmup problems, taught slowly in Hindi, English, or Hinglish, then typed by you.

long long sum = 0;
for (int x : a) sum += x;
return sum;
HackerRank Warmup

Grading Students

Easy
HackerRank
10/12
EasyHackerRank Warmup

Grading Students

If grade < 38, leave it. Else round up to next multiple of 5 when the gap is less than 3.

Examples

Example 1

Input

4
73 67 38 33

Output

75 67 40 33

Stuck? Take a nudge

C++17