Skip to content

Commit 390ea34

Browse files
authored
Merge pull request #3 from arnavb/add-newlines
Add Newlines to End of All Files
2 parents 520da2a + e26198a commit 390ea34

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ script:
1717
- g++-7 --version && g++-7 -v # Check if proper version of g++ (>=7.2) is installed
1818
- python --version # Check if the proper version of python (>=3.6) is installed
1919
- cd tests # Enter test directory
20-
- python test_all_solutions.py $TRAVIS_BUILD_DIR g++-7 # Run all tests
20+
- python test_all_solutions.py $TRAVIS_BUILD_DIR g++-7 # Run all tests

solutions/Problem001.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ int main()
3131
}
3232

3333
std::cout << sumMultiples << "\n";
34-
}
34+
}

solutions/Problem002.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ int main()
4242
}
4343

4444
std::cout << fibNumSum << "\n";
45-
}
45+
}

solutions/Problem003.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ int main()
4444
}
4545

4646
std::cout << highestPrimeFactor << "\n";
47-
}
47+
}

solutions/Problem004.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ int main()
4646
}
4747

4848
std::cout << largestPalindromeProduct << "\n";
49-
}
49+
}

solutions/Problem006.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ int main()
3333
squareOfSum *= squareOfSum; // Square the sum
3434

3535
std::cout << (squareOfSum - sumOfSquares) << "\n";
36-
}
36+
}

solutions/Problem007.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ int main()
6161
{
6262
// 1 Million is an arbitrary limit
6363
std::cout << primesUpto<1'000'000>()[10'000] << "\n";
64-
}
64+
}

solutions/Problem014.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ int main()
5252
}
5353

5454
std::cout << numWithLargestChain << "\n";
55-
}
55+
}

solutions/Problem022.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ int main()
8080
{
8181
std::cout << "Unable to open the file data/names.txt! Please check if the file exists in the appropriate location!\n";
8282
}
83-
}
83+
}

solutions/Problem028.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ int main()
4444
}
4545
}
4646
std::cout << diagonalNumberSum << "\n";
47-
}
47+
}

0 commit comments

Comments
 (0)