Submission
Status:
[PPPPPPPPPP]
Subtask/Task Score:
{100/100}
Score: 100
User: mameeewin
Problemset: เรียงสตริง
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-13 14:43:18
#include <iostream>
#include <set>
using namespace std;
int main(){
string s; cin >> s;
set<char> done; for (char i: s) done.insert(i);
for (char i: done) cout << i << " ";
}
/*
TEST
1. Given Testcases
2. Minimum
3. Maximum
4. Duplicates
5. Negative Numbers / Zero
CHECK
1. Indexing Error/Wrong Variable
2. Division/Modulo by Zero
3. Overflow/Constraints
4. Leftover Debugging Output
5. Filename
*/