diff options
author | RossTheRoss <msattr@gmail.com> | 2019-02-08 15:13:08 +0000 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-02-08 15:13:08 +0000 |
commit | 2c88fdab1c1f87e6c8797375c4055305dcd9fd52 (patch) | |
tree | 04b84c7146cfba8f817a47f443d4d6a0342baa7c | |
parent | phone posting (diff) | |
download | homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar.gz homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar.bz2 homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar.lz homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar.xz homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.tar.zst homework-2c88fdab1c1f87e6c8797375c4055305dcd9fd52.zip |
Fix things
Diffstat (limited to '')
-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; |