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