This repository is made for hacktoberfest 2023. Here you can upload DSA questions in the CPP language. Leetcode , GFG , Codechef, codeforces problems are also accepted in this repository.
You are appointed as the assistant to a teacher in a school and she is correcting the answer sheets of the students.Each student can have multiple answer sheets.So the teacher has Q queries:
1 XY :Add the marks Y to the student whose name is X.
2 X: Erase the marks of the students whose name is X.
3 X: Print the marks of the students whose name is X. (If X didn't get any marks print 0.)
PROBLEM LINK- https://www.hackerrank.com/challenges/cpp-maps/problem?isFullScreen=true
You are appointed as the assistant to a teacher in a school and she is correcting the answer sheets of the students.Each student can have multiple answer sheets.So the teacher has Q queries:
1 XY :Add the marks Y to the student whose name is X.
2 X: Erase the marks of the students whose name is X.
3 X: Print the marks of the students whose name is X. (If X didn't get any marks print 0.)