Browse Source

Update 'E.cpp'

webturing 5 years ago
parent
commit
ba18e5bd08
1 changed files with 1 additions and 1 deletions
  1. 1 1
      E.cpp

+ 1 - 1
E.cpp

@@ -5,7 +5,7 @@ using namespace std;
 
 int main() {
     string s;
-    while (cin >> s) {
+    while (getline(cin, s)) {
         sort(s.begin(), s.end());
         cout << s << endl;
     }