summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lswf.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/lswf.cpp b/lswf.cpp
index 997902f..31f7745 100644
--- a/lswf.cpp
+++ b/lswf.cpp
@@ -44,7 +44,7 @@ int main()
}
int* seq = new int[lastc];
- for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl;
+ //for(i = 0; i < lastc; i++) cout << caracts[i] << ' '; cout << endl;
seq[0] = 1;
for(i = lastc; i > 0; i--) {
@@ -54,10 +54,7 @@ int main()
seq[i] = 1;
} else seq[i] = 0;
}
- for(i = 0; i < lastc; i++) {
- out << seq[i];
- cout << seq[i] << ' ';
- }
+ for(i = 0; i < lastc; i++) out << seq[i];
delete[] seq;
in.close();