Tags » Prime

75th BIRTHDAY WISHES FROM THE SPIRITS OF TIMES PAST!

We continue our special weeklong 75th birthday tribute to the legendary Philadelphia DJ Jerry Blavat with some very special visits to the spirits of the certain years when the Geator was in the beginning, middle and continuation of his prime; First up, a visit from the Spirit of 1954… … 200 more words

Special

RENEWED - Transparent - Season 3

The critically acclaimed series is coming back for another season. 85 more words

TV

The Game Formally Charged After Allegedly Assaulting Off-Duty Cop At Basketball Game

Jayceon “The Game” Taylor has been formally charged after getting into an altercation with an off-duty police officer during a casual basketball game at a high school back in March. 115 more words

Prime

10062 - Tell Me the Frequencies!

Link: https://uva.onlinejudge.org/external/100/p10062.pdf
#include <cstdio>
#include <cstring>
#include <queue>

using namespace std;


class comPair{
    public:
    bool operator() (const pair<int,int>& lhs,
                     const pair<int,int>& rhs) const{
        if(lhs.first>rhs.first){
            return true;
        }else if(lhs.first==rhs.first){
            if(lhs.second<rhs.second){
                return true;
            }

            return false;
        }
        return false;
    }
};


int main()
{
    freopen("input.txt","r",stdin);

    char readLine;
    int lineData,i;
    typedef pair<int,int> P;
    priority_queue<P,vector<P>, comPair > Q;
    P tmpPair;

    gets(readLine);
    while(!feof(stdin)){
        memset(lineData,0,sizeof(lineData));
        i=0;

        while(readLine[i] != '\0'){
            lineData]++;
            i++;
        }

        for(int p=0;p<129;p++){
            if(lineData[p] != 0){
                Q.push(make_pair(lineData[p],p));
                //printf("%c %d\n",p,lineData[p]);
            }


        }

        while(!Q.empty()){
            tmpPair = Q.top();
            Q.pop();
            printf("%d %d\n",tmpPair.second,tmpPair.first);
        }

        gets(readLine);
        if(!feof(stdin)) printf("\n");
    }

    return 0;
}

UVa

Singapore Dental Implant: A Prime Solution for Missing Teeth Problems


Missing teeth are among the biggest things that can mess up a smile, and the consequences go beyond one’s appearance. Gaps between the other teeth increase as they move towards the empty space while the bone beneath the lost tooth diminishes, which is problematic to overall health. 92 more words

Rapper Plies Accused Of Holding 'White Men Hostage' In Newly Released 911 Call

Florida authorities approached what was believed to be a hostage situation, but it was nothing more but a Plies video shoot.

TMZ reports:

Cops were called to the St.

146 more words
Prime

#FreeBree: Black Woman Climbs Up South Carolina Statehouse & Removes Confederate Flag

Tensions have just about reached their peak surrounding the removal of the Confederate flag from the South Carolina statehouse in light of the recent Emmanuel AME shooting that saw a racist 21-year-old white man take lives of 9 innocent Black people during a weekly Bible study and one brave Black woman decided she’d had enough early Saturday morning. 194 more words

Prime