Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ea7e32d

Browse files
committedApr 2, 2024·
fix: apply fixes from pre-commit run --all
1 parent d3cd320 commit ea7e32d

File tree

388 files changed

+4198
-5186
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+4198
-5186
lines changed
 
+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
// ERROR: FILE CORRUPTED. Please supply valid C++ Code.
22

3-
hp1,üapöhp2ö%Äcountöiöma1,öhp2ö%Älawöhp3öö/önextöstepö%Ädacöiöml1ö%Älawö7ö%Ädacöiömb1ö%Ärandomöö%Äscrö9sö%Äsirö9sö%Äxctöhr1ö%Äaddöiömx1ö%Ädacöiömx1ö%Äswapö%Äaddöiömy1ö%Ädacöiömy1ö%Ärandomö%Äscrö9sö%Äsirö9sö%Äxctöhr2ö%Ädacöiömdyö%Ädioöiömdxö%Äsetupö.hpt,3ö%Älacöranö%Ädacöiömth
3+
hp1, üapöhp2ö % Äcountöiöma1,
4+
öhp2ö % Älawöhp3öö / önextöstepö % Ädacöiöml1ö % Älawö7ö % Ädacöiömb1ö %
5+
Ärandomöö % Äscrö9sö % Äsirö9sö % Äxctöhr1ö % Äaddöiömx1ö %
6+
Ädacöiömx1ö % Äswapö % Äaddöiömy1ö % Ädacöiömy1ö % Ärandomö % Äscrö9sö %
7+
Äsirö9sö % Äxctöhr2ö % Ädacöiömdyö % Ädioöiömdxö % Äsetupö.hpt,
8+
3ö % Älacöranö % Ädacöiömth

‎exercises/concept/election-day/.meta/exemplar.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ void increment_vote_count(ElectionResult& result, int votes) {
3131
ElectionResult& determine_result(std::vector<ElectionResult>& count) {
3232
int winner_idx = 0;
3333
for (int i{}; i < count.size(); ++i) {
34-
if(count.at(i).votes > count.at(winner_idx).votes) {
34+
if (count.at(i).votes > count.at(winner_idx).votes) {
3535
winner_idx = i;
3636
}
3737
}

0 commit comments

Comments
 (0)
Please sign in to comment.