Compare the Triplets
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;
EasyHackerRank Warmup
Compare the Triplets
Alice and Bob each have 3 scores. Compare index by index. Higher score gets 1 point. Ties give nobody a point.
Examples
Example 1
Input
5 6 7 3 6 10
Output
1 1
Example 2
Input
1 2 3 1 2 3
Output
0 0
Stuck? Take a nudge
C++17Autosaves