diff options
-rw-r--r-- | misc/test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |