update gitignore. update compile.sh

This commit is contained in:
2025-05-03 01:36:06 +03:00
parent 689b148736
commit 96b0571d30
7 changed files with 10 additions and 130 deletions
+2 -2
View File
@@ -11,12 +11,12 @@ int main() {
mp[name].push_back(grade);
}
for (auto x : mp) {
for (auto& x : mp) {
std::cout << x.first << " ";
double tmp = 0;
int n = 0;
for (auto i : x.second) {
for (auto& i : x.second) {
tmp += i;
++n;
}