Friday, 31 January 2014

Word Of The Day

  • aerie
  • audio pronunciation
  • \AIR-ee\
  • DEFINITION
noun
1
: the nest of a bird on a cliff or a mountaintop
2
: an elevated often secluded dwelling, structure, or position
  • EXAMPLES
Members of the royal family were seated in an aerie flanking the stage.

"Besides scoring an aerie in the tallest, and most exquisitely renovated, building on the park, Mr. Alexander has nearly 2,000 feet of outdoor space divided among four terraces, one of which is 40 feet wide and provides views of the Chrysler Building." — From an article by Robin Finn in The New York Times, September 15, 2013
  • DID YOU KNOW?
English poet John Milton put a variant of "aerie" to good use inParadise Lost (1667), writing, "… there the eagle and the stork / On cliffs and cedar tops their eyries build." But Milton wasn't the first to use the term, which comes to us via Medieval Latin and Old French and probably traces to an earlier Latin word for "nest" or "lair." English speakers had been employing "aerie" as a word for a bird's nest for more than a century when Milton penned those words. Eventually, "aerie" was applied to human dwellings as well as birds' nests. At first, this sense referred to dwellings nestled high up in mountains or hills. These days, you're also likely to hear high-rise city apartments or offices referred to as "aeries."

Thursday, 30 January 2014

Word Of The Day

  • passim
  • audio pronunciation
  • \PASS-im\
  • DEFINITION
adverb
: here and there
  • EXAMPLES
Readers will have no trouble determining the editor's opinions about the text, as her strongly worded footnotes appearpassim.

"Finally, may I say that I respect the views of those who have read and researched the same information as I, but reached the opposing conclusion, as displayed in your letter pages passim." — From a letter to the editor by Stephen Brown in the North Devon Journal, December 12, 2013
  • DID YOU KNOW?
"Passim" is from the Latin word "passus" ("scattered"), itself from "pandere," meaning "to spread." "Pandere" is the root of the common word "expand" and the not-so-common word "repand," meaning "having a slightly undulating margin" (as in "a repand leaf" or "a repand colony of bacteria"). It is also the progenitor of "pace," as in "keep up a steady pace." "Passim" itself appears in English both on its own and as part of the adverb "sic passim," which means "so throughout." "Sic passim" is typically used to indicate that a word or idea is to be found at various places throughout a book or a writer's work.

Wednesday, 29 January 2014

Word Of The Day

    • logy
    •    
    • audio pronunciation
    •    
    • \LOH-ghee\

  • DEFINITION
adjective
: marked by sluggishness and lack of vitality : groggy
  • EXAMPLES
I was feeling logy after eating such a big meal, so I decided to take a brief nap.

"I often feel logy before putting on a record that I'm slated to review, like I'm getting up in the morning for work. But that dissipates. The music soon becomes a pool cue that gets mental billiards rolling, points clacking against counterpoints." — From an album review by Carl Wilson in Slate Magazine, November 1, 2013
  • DID YOU KNOW?
Based on surface resemblance, you might guess that "logy" (also sometimes spelled "loggy") is related to "groggy," but that's not the case. "Groggy" ultimately comes from "Old Grog," the nickname of an English admiral who was notorious for his cloak made of a fabric called grogram—and for adding water to his crew's rum. The sailors called the rum mixture "grog" after the admiral. Because of the effect of grog, "groggy" came to mean "weak and unsteady on the feet or in action." No one is really sure about the origin of "logy," but experts speculate that it comes from the Dutch word "log," meaning "heavy." Its first recorded use in English, from an 1847 London newspaper, refers to a "loggy stroke" in rowing.

Tuesday, 28 January 2014

Word Of The Day

  • rutilant
  • audio pronunciation
  • \ROO-tuh-lunt\
  • DEFINITION
adjective
: having a reddish glow
  • EXAMPLES
We all sat quietly around the campfire, each person's rutilantface mesmerized by the crackling flame.

"I watched him with envy. He was tall and thin, having outgrown his pudge, while I was still layered with baby fat, rutilant cheeks glowing like apples." — From Doug Crandell's 2004 memoir Pig Boy’s Wicked Bird
  • DID YOU KNOW?
"Rutilant," which first appeared in English late in the 15th century, is used in English today to describe anything with a reddish or fiery glow, such as a sunset or flushed skin. It derives from Latin "rutilus," meaning "ruddy," which is probably related to Latin "ruber," meaning "red." "Ruber" itself is a direct ancestor of our word "rubella" (a disease named for the reddish color one's skin turns when afflicted with the condition) and "rubric" (which, among other things, can refer to a book or manuscript heading that is done or underlined in red). "Ruber" is also a distant relative of several English words for things that bear a reddish tone (including "russet," "rouge," and "ruby") and even of the word "red" itself.

Monday, 27 January 2014

Word Of The Day

  • conflate
  • audio pronunciation
  • \kun-FLAYT\

  • DEFINITION

verb
1
a : to bring together : fuseb : confuse
2
: to combine (as two readings of a text) into a composite whole

  • EXAMPLES

The professor warned us to be careful not to conflate the two similar theories.

"Some people are bound to conflate your onscreen character Marie with your real-life self." — From an interview by Clark Collis in Entertainment Weekly, December 6, 2013

  • DID YOU KNOW?

We're not just blowing hot air when we tell you that "conflate" can actually be traced back to the same roots as the English verb "blow." "Conflate" derives from "conflatus," the past participle of the Latin verb "conflare" ("to blow together, to fuse"), which was formed by combining the prefix "com-" with the verb "flare," meaning "to blow." The source of Latin "flare" is the same ancient root word that gave us "blow." Other descendants of "flare" in English include "afflatus" ("a divine imparting of knowledge or power"), "inflate," "insufflation" ("an act of blowing"), and "flageolet" (a kind of small flute—the "flageolet" referring to a green kidney bean is unrelated).


Word Of The Day

  • visage
  • \VIZ-ij\

  • DEFINITION

noun
1
: the face, countenance, or appearance of a person or sometimes an animal
2
: aspect, appearance

  • EXAMPLES

The model's severe, smoldering visage appears to gaze with contempt from billboards throughout the city.

"The image that best sums up this disastrous Knicks season lies right there on the sidelines, on the incredible, incredulous visageof haggard coach Mike Woodson." — From a post by Ben Yakas at Gothamist.com, December 26, 2013

  • DID YOU KNOW?

Writers occasionally come face-to-face with the fact that "face" is a pretty generic word that seems to have no ordinary synonyms. But it has a few synonyms of the high-flown variety. "Physiognomy," for instance, refers to facial features or expression thought to reveal qualities of mind or character ("I thought I could detect in his physiognomy a mind owning better qualities than his father ever possessed…."—Emily Brontë,Wuthering Heights). "Countenance" is usually used to refer to one's face and the mood revealed by it ("Mina struggled hard to keep her brave countenance…."—Bram Stoker, Dracula). "Visage" works double duty, referring to both physical appearance and a display of emotion. It can also refer to the appearance of nonliving things, as in "the dirty visage of the old abandoned factory."

Sunday, 26 January 2014

Code Of The Day

SPOJ

Problem Code : JULKA

This problem has been solved in JAVA due to the problem caused by bigger numbers in the test cases.

import java.util.*;
import java.math.*;

class JULKA
{
public static void main(String args[])
{
Scanner in = new Scanner(System.in);
for(int i=0; i<10; i++)
{
BigInteger Total = new BigInteger(in.next());
BigInteger K_more = new BigInteger(in.next());
BigInteger X = (Total.add(K_more)).divide(new BigInteger("2"));
BigInteger Y = Total.subtract(X);
System.out.println(X.toString());
System.out.println(Y.toString());
}
}
}

Saturday, 25 January 2014

Word Of The Day

  • stymie
  • audio pronunciation
  • \STYE-mee\
  • DEFINITION
verb
: to present an obstacle to : stand in the way of
  • EXAMPLES
Progress on the project has been stymied by lack of funds.

"Even the town's initiatives couldn't stop someone from buying Wagner's land and developing it with houses. The only safeguards lie in the forest's marshes and hills that might stymiemuch development." — From an article by Taylor W. Anderson in the Chicago Tribune, December 12, 2013
  • DID YOU KNOW?
Golf was being played in Scotland as early as the 15th century, but it wasn't until the 19th century that the sport really caught on in England and North America. It was also in the 19th century that the word "stymie" entered English as a noun referring to a golfing situation in which one player's ball lies between another ball and the hole on the putting green, thereby blocking the line of play. Later, "stymie" came to be used as a verb meaning "to bring into the position of, or impede by, a stymie." By the early 20th century, the verb was being applied in similarly vexing non-golf contexts.

Code Of The Day

SPOJ

Problem Code : ONP



#include<stdio.h>

int getPre(char x)
{
switch(x)
{
case '^': return 4;
case '*':
case '/': return 3;
case '+':
case '-': return 2;
case '(': return 1;
}
return 0;
}

int main()
{
char Infix[400], Postfix[400], Stack[400];
int in_ptr, po_ptr, st_ptr, t,i;

scanf("%d",&t);

while(t--)
{
po_ptr=st_ptr=-1;

scanf("%s",Infix);
for(i=0; Infix[i]!='\0'; i++)
{
if(Infix[i] == '(')
{
st_ptr++;
Stack[st_ptr]='(';
}
else if(Infix[i] == ')')
{
while(Stack[st_ptr]!='(')
{
po_ptr++;
Postfix[po_ptr] = Stack[st_ptr];
st_ptr--;
}
st_ptr--;
}
else if(Infix[i] == '+' || Infix[i] == '-' || Infix[i] == '*' || Infix[i] == '/' || Infix[i] == '^')
{
while(getPre(Stack[st_ptr]) >= getPre(Infix[i]))
{
po_ptr++;
Postfix[po_ptr] = Stack[st_ptr];
st_ptr--;
}
st_ptr++;
Stack[st_ptr] = Infix[i];
}
else
{
po_ptr++;
Postfix[po_ptr] = Infix[i];
}
}
Postfix[po_ptr+1] = '\0';
printf("%s\n",Postfix);
}
return 0;
}

Code Of The Day

SPOJ

Problem Code : FTCRL2

 

#include<stdio.h>
int main()
{
    int a,m,temp,i,x,t,j;
    int arr[1000];

    scanf("%d",&t);

    while(t--)
    {
        scanf("%d",&a);
        arr[0]=1;
        m=1;

        for(j=1; j<=a; j++)
        {
            temp = 0;
            for(i=0; i<m; i++)
            {
                x = arr[i]*j + temp;
                arr[i] = x%10;
                temp = x/10;
            }
   
            while(temp>0)
            {
                arr[m++] = temp%10;
                temp/=10;
            }            
        }
        for(i=m-1; i>=0; i--)
            printf("%d",arr[i]);
        printf("\n");
    }
    return 0;
}


 

Friday, 24 January 2014

Word Of The Day

  • acephalous
  • audio pronunciation
  • \ay-SEF-uh-lus\
  • DEFINITION
adjective
1
: lacking a head or having the head reduced
2
: lacking a governing head or chief
  • EXAMPLES
Having no head capsule, the larva is acephalous.

"Mouskas believes there is ample room to improve the Cyprus shipping registry including appointing a director at the Department of Merchant Shipping (DMS), which has beenacephalous since Sergios Serghiou retired two and half years ago." — From an article by Charles Savva at mondaq.com, updated December 2, 2013
  • DID YOU KNOW?
The English word "acephalous" was borrowed from Medieval Latin, in which it meant "headless" and was chiefly used to describe clerics not under a bishop or lines of verse having the first foot missing or abbreviated. The fountainhead of these meanings is the Greek word "kephalē," meaning "head." Other English descendants of "kephalē" include "cephalic," meaning "of or relating to the head" or "directed toward or situated on or in or near the head," and "encephalitis," meaning "inflammation of the brain."

Code Of The Day

SPOJ

Problem Code : ARMY

#include<stdio.h>
#include<iostream>
#include<algorithm>

using namespace std;

int main()
{
    int t,i,j,temp,ng,nm;
    scanf("%d",&t);

    while(t--)
    {
        scanf("%d %d",&ng,&nm);
        int ngArr[ng],nmArr[nm];

        for(i=1; i<=ng; i++)
        {
            scanf("%d",&ngArr[i]);
        }

        sort(ngArr+1,ngArr+ng);

        for(i=1; i<=nm; i++)
        {
            scanf("%d",&nmArr[i]);
        }
          
        sort(nmArr+1,nmArr+nm);

        i=1, j=1;

        while(1)
        {
             
            if(ngArr[i] >=nmArr[j])
            {
                j++;
                nm--;
            }
            else
            {
                i++;
                ng--;
            }
            if(ng==0)
                break;
            if(nm==0)
                break;
        }
        if(nm==0)
            printf("Godzilla\n");
        else if(ng==0)
            printf("MechaGodzilla\n");
        else
            printf("uncertain\n");
      }
      return 0;
}

Word Of The Day

mel·an·cho·lia

noun \ˌme-lən-ˈkō-lē-ə\
: a feeling of sadness and depression

Full Definition of MELANCHOLIA 

:  a mental condition and especially a manic-depressive condition characterized   by extreme depression, bodily complaints, and often hallucinations and delusions 

Origin of MELANCHOLIA

New Latin, from Late Latin, melancholy
First Known Use: 1607

mel·an·cho·lia

noun \ˌmel-ən-ˈkō-lē-ə\   (Medical Dictionary)

Medical Definition of MELANCHOLIA

: a mental condition and especially a manic-depressive condition characterized by extreme depression, bodily complaints, and often hallucinations and delusions

Thursday, 23 January 2014

Word Of The Day

  • pratfall
  • audio pronunciation
  • \PRAT-fawl\
  • DEFINITION
noun
1
: a fall on the buttocks
2
: a humiliating mishap or blunder
  • EXAMPLES
"I didn't really fall! I was doing a silly pratfall, and the press said I actually fell over, but I didn't. Just one of my clowning things." — From an interview with Emma Thompson in Newsday, December 11, 2013

"For the last two months, our healthcare.gov guinea pig Alice has had one frustrating moment after another. She visited the site repeatedly since its series of rolling pratfalls started Oct. 1. It never worked." — From an op-ed by John Dickerson in theColumbia Daily Tribune (Columbia, Missouri), December 8, 2013
  • DID YOU KNOW?
The human posterior has been given a number of designations over the centuries, some not acceptable in polite company. "Prat," a slang term with only slightly indecorous overtones, has been used in reference to the backside since the 16th century. It wasn't until the 1930s, however, that falling on one's prat gave rise to the term "pratfall." The word first cropped up in the lingo of comedy theater, where a pratfall is often part of a slapstick routine. It wasn't long before we gave the word its extended sense of "blunder." Now, with "prat" rarely used as a synonym of "derriere" anymore, "pratfall" is as apt to suggest getting a pie in the face as landing on one's behind.

Wednesday, 22 January 2014

Word Of The Day

  • jaunty
  • audio pronunciation
  • \JAWN-tee\
  • DEFINITION
adjective
: sprightly in manner or appearance : lively
  • EXAMPLES
Flashbulbs lit up the scene as the bubbly actress sashayed down the red carpet, wearing a jaunty little headpiece that complemented her airy designer gown.

"As Soapy Smith, a homeless guy down on his luck, his ability to recreate every aspect of this jaunty, sly survivor is perfect." — From a theater review by Edith McCauley in the Rock River Times(Illinois), December 18-24, 2013
  • DID YOU KNOW?
You might not guess that the words "jaunty" and "genteel" are related—but they are. Both words evolved from the French word "gentil," which carried the sense of "noble." At first "jaunty" was used, like "genteel," for things aristocratic, but as the years went by people stopped using it that way. Today "jaunty" is used to describe things that are lively and perky rather than things that are aristocratic and elegant.

Tuesday, 21 January 2014

Word Of The Day

  • melancholia
  • audio pronunciation
  • \mel-un-KOH-lee-uh\
  • DEFINITION
noun
: a mental condition and especially a manic-depressive condition characterized by extreme depression, bodily complaints, and often hallucinations and delusions; broadly : a feeling of sadness and depression
  • EXAMPLES
"As the debates about the future shape of the Diagnostic and Statistical Manual of Mental Disorders (DSM), Fifth Edition, continue, a review of one of the liveliest arguments, aboutmelancholia as a diagnostic category in its own right, appears timely." — From an article by Paul Grof in the Canadian Journal of Psychiatry, April 2013

"While some lyrics in Brian Wilson's handwriting are drenched inmelancholia, most convey the band's signature, sunny optimism." — From an article in The Daily Home (Talladega, Alabama), April 20, 2013
  • DID YOU KNOW?
Today's word traces back to Greek "melan " ("black, dark") and "cholē" ("bile"). Medical practitioners once adhered to the system of humors—bodily fluids that included black bileyellow bile, blood, and phlegm. An imbalance of these humors was thought to lead to disorders of the mind and body. One suffering from an excess of black bile (believed to be secreted by the kidneys or spleen) could become sullen and unsociable—liable to anger, irritability, brooding, and depression. Today, doctors no longer ascribe physical and mental disorders to disruptions of the four humors, but the word "melancholia" is still used in psychiatry (it is identified a "subtype" of clinical depression in theDiagnostic and Statistical Manual of Mental Disorders) and as a general term for despondency.

Monday, 20 January 2014

Word Of The Day

  • zany
  • audio pronunciation
  • \ZAY-nee\
  • DEFINITION
noun
1
: a subordinate clown or acrobat in old comedies who mimics ludicrously the tricks of the principal
2
: one who acts the buffoon to amuse others
3
: a foolish, eccentric, or crazy person
  • EXAMPLES
My brother's friends are an unpredictable bunch of zanies.

"The Man … invites us to listen in as he plays his cherished two-record album of 'The Drowsy Chaperone,' a fictitious 1928 romp featuring wall-to-wall music and a cast of zanies." — From a theater review by Tony Farrell in the Richmond Times Dispatch(Virginia), November 11, 2013
  • DID YOU KNOW?
Zanies have been theatrical buffoons since the heyday of the Italian commedia dell'arte, which introduced those knavish clowns. The Italian "zanni" was a stock servant character, often an intelligent and proud valet with abundant common sense, a love of practical jokes, and a tendency to be quarrelsome, cowardly, envious, vindictive, and treacherous. Zanni, the Italian name for the character, comes from a dialect nickname for Giovanni, the Italian form of John. The character quickly spread throughout European theater circles, inspiring such familiar characters as Pierrot and Harlequin, and by the late 1500s an anglicized version of the noun "zany" was introduced to English-speaking audiences by no less a playwright than William Shakespeare (in Love's Labour's Lost).

Sunday, 19 January 2014

Word Of The Day

  • ubiquitous
  • audio pronunciation
  • \yoo-BIK-wuh-tus\
  • DEFINITION
adjective
: existing or being everywhere at the same time : constantly encountered : widespread
  • EXAMPLES
The band's catchy new song is ubiquitous—I seem to hear it everywhere I go.

"Blackberry, once the darling of business and ubiquitous in every meeting, is being replaced as other devices move in offering faster, smarter and sleeker phones." — From a blog by Liz Hester at talkingbiznews.com, December 16, 2013
  • DID YOU KNOW?
"Ubiquitous" comes to us from the noun "ubiquity," meaning "presence everywhere or in many places simultaneously." "Ubiquity" first appeared in print in the late 16th century, but "ubiquitous" didn't make an appearance until 1830. (Another noun form, "ubiquitousness," arrived around 1874.) Both words are ultimately derived from the Latin word for "everywhere," which is "ubique." "Ubiquitous," which has often been used with a touch of exaggeration for things and people that seem to turn up everywhere, has become a more widespread and popular word than "ubiquity." Though not quite ubiquitous, if you keep your eyes and ears open, you're apt to encounter the word "ubiquitous" quite a bit.

Saturday, 18 January 2014

Word Of The Day

  • hoopla
  • audio pronunciation
  • \HOO-plah\
  • DEFINITION
noun
1
: excited commotion : to-do
2
: exaggerated or sensational promotion or publicity
  • EXAMPLES
In my opinion, the movie didn't live up to the hoopla surrounding it.

"There was no formal introduction, no hoopla as the leading scorer in Maryland men's basketball history took a seat behind the bench for the first time in his new role." — From an article by Don Markus in The Baltimore Sun, November 29, 2013
  • DID YOU KNOW?
In French, the interjection "houp-là" is used roughly the same way as English's "upsy-daisy" or "whoops-a-daisy," as one might say when picking up a child. (This usage can be found in English, too, in such works as Booth Tarkington's The Magnificent Ambersons and James Joyce’s Ulysses.) In the early 20th century, the word, playing on the syllable "hoop," gave its name to a ring-toss game played at carnivals. But before that, "hoopla" was used in American English to refer to a kind of bustling commotion, and later, as a term for sensationalist hype.

Friday, 17 January 2014

Word Of The Day

  • ostentatious
  • audio pronunciation
  • \ah-stun-TAY-shus\
  • DEFINITION
adjective
: marked by or fond of conspicuous or vainglorious and sometimes pretentious display
  • EXAMPLES
Now that he has money, Edwin wears expensive designer clothes, drives an ostentatious car, and frequents the trendiest upscale nightclubs.

"'Washingtonians are more understated in their style,' says Pamela Sorensen, founder of the website Pamela's Punch, where she covers the local social scene. 'Being flashy orostentatious is frowned upon.'" — From an article by Kimberly Palmer in the Washingtonian, January 2014
  • DID YOU KNOW?
"Showy," "pretentious," and "ostentatious" all mean given to outward display, but there are subtle differences in the meaning of these show-off words. "Showy" implies an imposing or striking appearance, but usually also implies cheapness or bad taste. "Pretentious" suggests an appearance of importance not justified by a thing's value or a person's standing. "Ostentatious" is the most peacockish of all, stressing the vanity of the display.