From a937350ab20adc0f8172c4d99f4d711e92dfd947 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 5 Dec 2024 08:02:45 +0100 Subject: Day 5 2024 --- 2024/template.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '2024/template.cpp') diff --git a/2024/template.cpp b/2024/template.cpp index 3707052..7508a23 100644 --- a/2024/template.cpp +++ b/2024/template.cpp @@ -7,7 +7,8 @@ using namespace std; int main() { - while (cin >> TODO) + string line; + while (getline(cin, line)) ; return 0; } -- cgit v1.3