### codepasta's blog

By codepasta, 3 months ago,

helo, codeforce! i found ez probblem for me (https://codeforces.com/contest/231/problem/A), thinked "hmmm ez probblem" and decided to do it............. But, but, it give me wrong answer on test 2!!1! i have debugged for 45 minute but could'nt find the mistake......... can you please helpp me??????? i think it is probblem from templates, but i am not sure

probblem sentence: https://codeforces.com/contest/231/problem/A

thnk you!!1!!!

• -16

By codepasta, 4 months ago,

# Hello, codeforce! I have a problem question.... why does it give TLE and question mark????????? question mark like this: �

## problem statement:

A. Word Capitalization time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output

Capitalization is writing a word with its first letter as a capital letter. Your task is to capitalize the given word.

Note, that during capitalization all the letters except the first one remains unchanged. Input

A single line contains a non-empty word. This word consists of lowercase and uppercase English letters. The length of the word will not exceed 103. Output

Output the given word after capitalization. Examples Input Copy

ApPLe

Output Copy

ApPLe

Input Copy

konjac

Output Copy

Konjac

------------------------------------------------------------------------

• -25

By codepasta, 4 months ago,

Hello, Codeforces! I have a suggestion: a PHP contest on codeforces! Why is C++ the lucky programming language and used 99.99999% of the time??? (the rest are python and java)??? Why isn't there a PHP contest on codeforces??? PHP is the greastest programming language of all time, everybody should use it!! wHY DO YOU FAVOUR C++ SO MUCH, WHEN php CAN DO ANYTHING C++ CAN, BUT BETTER????

• -57

By codepasta, 5 months ago,

hello, codeforce!!!1!

question is: how to find if a number called n is even or odd???? my code is:

# if (n == 4) cout << "EVEN";

if (n == 5) cout << "ODD";
if (n == 6) cout << "EVEN";
if (n == 7) cout << "ODD";
if (n == 8) cout << "EVEN";
if (n == 9) cout << "ODD";
if (n == 10) cout << "EVEN";
if (n == 11) cout << "ODD";
if (n == 12) cout << "EVEN";
if (n == 13) cout << "ODD";
if (n == 14) cout << "EVEN";
if (n == 15) cout << "ODD";
}


• -40

By codepasta, 5 months ago,

Hello, codeforces!

You may wonder why I have such an outrageously false codeforces handle. After all, I'm just a newbie, how could I be better than tourist? Well, the answer is actually surprisingly simple:

Spoiler
the end,

• -33

By codepasta, history, 5 months ago,

hello, codeforces! The moderation system is very weird... my -20 contrib. comment got deleted, while there are hundreds of spammers who get away with much worse and less useful comments... why is it that? i get it, you need some moderation, but at least i want a reason from the admins why my comments get deleted... otherwise it's just CENSORFORCES!! Even secondthread, the 3rd biggest contributor on this platform had this problem of getting random comments deleted.

• -36

By codepasta, history, 5 months ago,

Hello, codeforces! I decided to start a youtube channel related to competitive programming, featuring videos about algorithms and explaining in-depth problem solutions. It is targeted towards people with 1400-2000 rating.

I have already posted the first video: Number theory, modular inverse, diophantic equations — course. Please, give my channel a try. I would like to hear your opinions and suggestions :)

• -52

By codepasta, 6 months ago,

helloo, codeforce!!!11!

problem statement is: given a and b, print a + b. a and b <= 1000000000

why is this problem giving ''time limit exceedded''?????

here is my submisssion:

#include <iostream>

using namespace std;

# cin >> a;

cin >> b; for (i = 1; i<=a; i = i + 1) answerr = answerr + 1; for (i = 1; i<=b; i = i + 1) answerr = answerr + 1; cout << answerr; return 0; }

pleasse helppp, thank you!!111!!

• -51

By codepasta, history, 6 months ago,