aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorRossTheRoss <msattr@gmail.com>2019-02-08 15:13:08 +0000
committerRossTheRoss <msattr@gmail.com>2019-02-08 15:13:08 +0000
commit2c88fdab1c1f87e6c8797375c4055305dcd9fd52 (patch)
tree04b84c7146cfba8f817a47f443d4d6a0342baa7c /misc
parentphone posting (diff)
downloadhomework-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 'misc')
-rw-r--r--misc/test.cpp2
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;