From: Skullheadx <94652084+Skullheadx@users.noreply.github.com> Date: Sat, 19 Nov 2022 23:22:25 +0000 (-0500) Subject: Update S3.cpp X-Git-Url: http://git.skullheadx.com/about.html?a=commitdiff_plain;h=110a5fc011f9f7fb6973abfe9d48594150094a9d;p=CCC.git Update S3.cpp --- diff --git a/Main/C++/2016/S3.cpp b/Main/C++/2016/S3.cpp index 1997216..c4ebe69 100644 --- a/Main/C++/2016/S3.cpp +++ b/Main/C++/2016/S3.cpp @@ -45,7 +45,7 @@ int main() set> seen; vector temp; int current, length; - long long pho_seen, complete = (pow(10,pho_restaurants.size()) - 1)/9; + long long pho_seen, complete = (pow(10,pho_restaurants.size()) - 1)/9; // integer overflow while (!q.empty()) { current=q.front()[0], length=q.front()[1], pho_seen = q.front()[2];