[알고리즘] 백준 6996 - 애너그램 (C++)
[문제 링크] : https://www.acmicpc.net/problem/6996#include #include using namespace std;int main(){ int T; string a, b, tmp1, tmp2; cin >> T; for(int i=0; i> a >> b; tmp1 = a, tmp2 = b; sort(a.begin(), a.end()); sort(b.begin(), b.end()); if(a == b){ cout