diff options
-rw-r--r-- | lswf.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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(); |