/******************************************************* * Copyright (C) 2015 Haotian Wu * * This file is the solution to the question: * https://www.hackerrank.com/challenges/countingsort4 * * Redistribution and use in source and binary forms are permitted. *******************************************************/ #include #include #include #include #include #include #include #include using namespace std; // Put the strings in a bucket! int main() { int n,x; char str[20]; vector buckets[100]; scanf("%d",&n); for (int i=0;i