Final Capstone STL Containers Project

Hard STL Containers PRO
🔒 Login to Unlock

Problem Statement

Write a C++ program implementing a comprehensive student grade book system using `std::vector`, `std::map`, and `std::set` to compute rankings, averages, and unique score categories.

Input Format

Number of students N, followed by student name (string) and score (int) for each.

Output Format

Print average score formatted to 2 decimal places, highest scorer's name, and sorted unique score list separated by a space.

Constraints

1 <= N <= 50, 0 <= Score <= 100

Sample Input

4
Alice 85
Bob 92
Charlie 78
David 92

Sample Output

Average: 86.75
Top Scorer: Bob
Scores: 78 85 92

Explanation

Capstone project integrating multiple STL containers (`vector`, `map`, `set`) for robust data management and analysis.

Starter Code

#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <iomanip>

int main() {
    int n;
    if (std::cin >> n) {
        // Implement student record storage, average calculation, top scorer tracking, and unique score set sorting here

    }
    return 0;
}

Limits

  • Time Limit: 1s
  • Memory Limit: 256MB

Embedded C Programming

Updated: March 15, 2026
Intermediate

Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used