Fixed a bug in the 04.cpp
This commit is contained in:
@ -9,7 +9,7 @@ using namespace std;
|
|||||||
int main() {
|
int main() {
|
||||||
ifstream input("input.txt");
|
ifstream input("input.txt");
|
||||||
|
|
||||||
int sums;
|
int sums = 0;
|
||||||
for (string line; getline(input, line);) {
|
for (string line; getline(input, line);) {
|
||||||
regex e("Card\\s*[0-9]+: (.*)");
|
regex e("Card\\s*[0-9]+: (.*)");
|
||||||
smatch m;
|
smatch m;
|
||||||
|
Reference in New Issue
Block a user