Tags » Uri

Flair: day 3 of treatment

Bet you all thought you weren’t going to get an update today didn’t you :P

It’s just slightly later than usual; I was struggling today so took a benzodiazepine. 266 more words

Cute

UVA problem 10300 - Ecological Premium

Problem link (Click here)

#include <cstdio>
int main()
{
    long long a,b,c,m,n,i;

    scanf("%lld",&m);
    while(m--){
        scanf("%lld",&n);
        long long sum=0;
        for(i=0;i<n;i++){
            scanf("%lld %lld %lld",&a, &b, &c);
            sum=sum+a*c;
        }
        printf("%lld\n",sum);
    }
    return 0;
}
URI

MIC 201 MINUS CONTEXT

(Things my microbiology professor said that taught me a little about microbiology but a lot about much bigger things)

“So basically there are a TON of people walking around everyday with this terrible shit inside them and they don’t even know it’s there until years later” 355 more words

URI Problem 1018-Banknotes

Problem link (Click here)

#include 

int main()
{
    int input , hundred ,fifty , twenty , ten ,five , two ,one ;
    scanf("%d",&input);
    hundred=(input/100);
    fifty= (input-(hundred*100))/50;
    twenty=(input-((hundred*100)+(fifty*50)))/20;
    ten=(input-((twenty*20)+(fifty*50)+(hundred*100)))/10;
    five=(input-((ten*10)+(twenty*20)+(fifty*50)+(hundred*100)))/5;
    two=(input-((five*5)+(ten*10)+(twenty*20)+(fifty*50)+(hundred*100)))/2;
    one=input-((two*2)+(five*5)+(ten*10)+(twenty*20)+(fifty*50)+(hundred*100));
    printf("%d\n",input);
    printf("%d nota(s) de R$ 100,00\n",hundred);
    printf("%d nota(s) de R$ 50,00\n",fifty);
    printf("%d nota(s) de R$ 20,00\n",twenty);
    printf("%d nota(s) de R$ 10,00\n",ten);
    printf("%d nota(s) de R$ 5,00\n",five);
    printf("%d nota(s) de R$ 2,00\n",two);
    printf("%d nota(s) de R$ 1,00\n",one);

    return 0;
}
URI

Everyone but Flair

Thought I’d sneak in a blog that wasn’t about Flair today.

First I’ll talk about the guinea pigs, as they’re also on Baytril for a (far less severe) URI. 804 more words

Bunny

Flair: day 2

Another hedgehog update, sorry if I’m boring you all.

We’ve spent the past 24 hours checking Flair’s temperatures every few hours. His old owners couldn’t even get the basic requirement of his heat right, when they said he came with full set-up he came with no thermostat, nothing to read his temps with and a bulb that heats both the hot and cold spots incorrectly. 559 more words

Cute

#Anchors in URLs

The name of the value in the URL after the hashtag is called the anchor.

e.g. www.mytestsite.com/login#yadayadayada

In this instance #yadayadayada would be the anchor

Definitions