Advertisement
Josif_tepe

Untitled

Jun 7th, 2024
390
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <algorithm>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string s;
  8.     cin >> s;
  9.    
  10.     string s2;
  11.     cin >> s2;
  12.     sort(s.begin(), s.end());
  13.     sort(s2.begin(), s2.end());
  14.     if(s == s2) {
  15.      
  16.     }
  17.  
  18.     return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement