From 2c88fdab1c1f87e6c8797375c4055305dcd9fd52 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Fri, 8 Feb 2019 15:13:08 +0000 Subject: Fix things --- misc/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/test.cpp b/misc/test.cpp index 493114a..9eb82a3 100644 --- a/misc/test.cpp +++ b/misc/test.cpp @@ -10,7 +10,7 @@ int main () { cin >> x; unsigned long long i = (x-1); - for (i=x; i>1; --i/*--*/) { + for (i=x; i>1; --i) { if (x%i==0 && x!=i) { cout << "Not prime!" << endl; a=1700; -- cgit v1.2.3