summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcd.cpp b/gcd.cpp
index 2ac9b29..82f4387 100644
--- a/gcd.cpp
+++ b/gcd.cpp
@@ -59,6 +59,10 @@ int main (int argc, char *argv[])
stringstream str;
str << argv[n];
str >> ns[n-1];
+ /* NOTE:
+ * For GMP we can just assign: ns[n-1] = argv[n],
+ * and sstream is not needed.
+ */
}
cout << gcd(ns) << endl;
}