Please read the new rule regarding the restriction on the use of AI tools. ×

catwine's blog

By catwine, 14 months ago, In English

This blog is written in order to in memory of my first attempt to compete in Codeforces Community.

In this contest, I solved 3 problems, ranked 14344, gained 396 rating and it marked the beginning of my journey in codeforces.

Problem A:

tag: brute force

In my code, in each test case I find the min number and judge whether sum minus min is larger than 10.

It spent me 3 minutes, it's barely OK at my present level.

Problem B:

tag: simulation

It's a simple problem concerning about simulation.

I spent 14 minutes to solve it. What on earth am I thinking about for so long on that day? Isn't it easy? (In fact, this question also fits when I recall the whole contest, it indicates that I have improperly estimated myself in a terrible extent)

Problem C:

tag: string

In my code, I input 8 strings in each case, and record the position of the letter. Then I output the letter until it becomes '.' again in the position of each string.

The approach in tutorial is much more simple: it iterates the whole input, finds the char which is not '.' and outputs it.

I spent 11 minutes. More practice is to be done!!

So far, I have recall all the problems I have solved in the contest. Then I'll record what I have learned in the tutorial.

Problem D:

Briefly introduction to myself:

I'm now a freshman in China Chengdu Southwest Jiaotong University. My present major is Geology Engineering, which has nothing to do with CS. And two months later, at the beginning of my second semester in my school, I'll try to change my major to Software Engineering. I am eager to soak myself in the ocean of CS knowledge, which might sound childish, but it does render me pleasure.

Full text and comments »

  • Vote: I like it
  • +51
  • Vote: I do not like it