↓ Skip to Main Content
Useful code Programming with VBA, C# and Python

Main Navigation

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About
Useful code Programming with VBA, C# and Python

Off Canvas Menu

  • All
  • VBA
    • VBA Tools
    • VBA Online Resources
    • All VBA articles
  • Python
  • Else
    • C#
  • Reviews
    • List of reviews
  • YouTube
  • PayPal
  • About

Tag: codeforces

Python – Platforms Jumping – CodeForces

By Vitosh Posted on November 11, 2019 Posted in Python Tagged with algorithm, codeforces, greedy, Python
Python – Platforms Jumping – CodeForces

Greedy algorithm is described as an algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage with the intent of finding a global optimum. Thus, it is always interesting to find a problem, which can …

Python – Platforms Jumping – CodeForces Read more »

C# – CodeForces – Chtholly’s request

By Vitosh Posted on December 5, 2017 Posted in C Sharp Tricks Tagged with C#, codeforces
C# – CodeForces – Chtholly’s request

Solving problems at CodeForces is a kind of hobby. Lately, in round 449, division 2, there was a problem which has met my interest. It has to do with palindromes and really big numbers. The problem is easy to calculate, …

C# – CodeForces – Chtholly’s request Read more »

C# – CodeForces – Borya’s Diagnosis

By Vitosh Posted on October 31, 2017 Posted in C Sharp Tricks Tagged with Borya's Diagnosis, C#, codeforces
C# – CodeForces – Borya’s Diagnosis

Every time, wherever I decide to take a look at CodeForces and to code & publish some of the easy problems, I am thinking that this is probably the last one, because it is too easy. However, I always find …

C# – CodeForces – Borya’s Diagnosis Read more »

C# – CodeForces – Odds and Ends

By Vitosh Posted on September 9, 2017 Posted in CodeForces Tagged with C#, codeforces
C# – CodeForces – Odds and Ends

The first problem in CodeForces, division 2 is usually an implementation problem. This means that after reading it, a Joe-average algorithmic person would know how to write it in less than 5 minutes. Or so I thought, before seeing this …

C# – CodeForces – Odds and Ends Read more »

C# – CodeForces – Two TVs

By Vitosh Posted on August 30, 2017 Posted in C Sharp Tricks, CodeForces Tagged with algorithm, codeforces, queue
C# – CodeForces – Two TVs

Having two TVs is great. Or it used to be in the 90s. Anyhow, the latest problem in CodeForces that I have resolved was concerning a guy with a schedule of TV shows, which he was planning to watch on his …

C# – CodeForces – Two TVs Read more »

C# – CodeForces – Luba And The Ticket

By Vitosh Posted on August 28, 2017 Posted in C Sharp Tricks, CodeForces Tagged with brute force, C#, codeforces
C# – CodeForces – Luba And The Ticket

Magic tickets are considered the tickets in which the sum of the left digits is equal to the sum of the right digits. E.g., if you ticket is number 124016 it is a magic ticket, because 1+2+4 = 0 + …

C# – CodeForces – Luba And The Ticket Read more »

C# – CodeForces – Game of Rows

By Vitosh Posted on August 22, 2017 Posted in C Sharp Tricks, CodeForces Tagged with C#, codeforces, Game of rows, greed
C# – CodeForces – Game of Rows

CodeForces.com has become something like a hobby – instead of thinking about a topic for an article, I simply solve a problem there and blog about it. Thus, lately I have taken a look at Round 428, Division 2, problem …

C# – CodeForces – Game of Rows Read more »

CodeForces – Star Sky

By Vitosh Posted on August 7, 2017 Posted in C Sharp Tricks Tagged with C#, codeforces
CodeForces – Star Sky

CodeForces.com is one of the reasons why I blog quite often. Last week, in round 427 there was an interesting problem, which I was eager to solve. The problem was described as follows: The Cartesian coordinate system is set in …

CodeForces – Star Sky Read more »

C# – CodeForces – Keyboard Layouts

By Vitosh Posted on July 23, 2017 Posted in C Sharp Tricks Tagged with C#, codeforces
C# – CodeForces – Keyboard Layouts

CodeForces.com is the web site, which shows problems for competitive programmers. Today I have decided to take a look at the 2. problem of the 2. division of Round 424 –Keyboard Layouts. The problem is pretty simple to explain for …

C# – CodeForces – Keyboard Layouts Read more »

C# – CodeForces – Okabe and Banana Trees

By Vitosh Posted on July 11, 2017 Posted in C Sharp Tricks, CodeForces Tagged with C#, codeforces, linear equations
C# – CodeForces – Okabe and Banana Trees

It does not happen a lot, but this time the 2. problem  of CodeForces really made me rethink my life choices and made me feel a bit sorry that I was in a school where we studied Maths about 4 hours …

C# – CodeForces – Okabe and Banana Trees Read more »

C# – CodeForces – Karen and Game

By Vitosh Posted on June 28, 2017 Posted in C Sharp Tricks, CodeForces Tagged with C#, codeforces, greedy
C# – CodeForces – Karen and Game

Karen and Game is the third article about Karen. In a row. Pretty much, someone in CodeForces has created 7 different problems with her, thus the Japanese lady is getting famous. This time the problem looks like this: The game is …

C# – CodeForces – Karen and Game Read more »

C# – CodeForces – An express train to reveries

By Vitosh Posted on June 17, 2017 Posted in C Sharp Tricks, CodeForces Tagged with C#, codeforces, constructive algorithms
C# – CodeForces – An express train to reveries

CodeForces.com is a web site for competitive programming. One of the 2 really famous sites in internet. Yesterday I was fighting with a the problem 2 in Division B from competition number 814 for about 1 hour, until I have managed …

C# – CodeForces – An express train to reveries Read more »

C# – CodeForces – An abandoned sentiment from past

By Vitosh Posted on June 16, 2017 Posted in C Sharp Tricks Tagged with Algorithms, C#, codeforces, string to list of int
C# – CodeForces – An abandoned sentiment from past

CodeFoces.com is the place where I go when I do not know what to blog about. 🙂 Anyhow, as a developer who is with some experience there, I always expect that the first problems of Division 2 would be quite …

C# – CodeForces – An abandoned sentiment from past Read more »

Codeforces – Problem 798A – Checking the Calendar

By Vitosh Posted on April 30, 2017 Posted in C Sharp Tricks, C++ Tagged with algorithm, C#, codeforces
Codeforces – Problem 798A – Checking the Calendar

After reviewing the Meller watch, it’s time for some more IT related stuff in the blog.  Thus, I have decided to do what I usually do when I want to write some article and I do not know what to …

Codeforces – Problem 798A – Checking the Calendar Read more »

C# – Code Forces – Codeforces Round #406B

By Vitosh Posted on March 27, 2017 Posted in C Sharp Tricks Tagged with C#, codeforces
C# – Code Forces – Codeforces Round #406B

Its Sunday and it is a good idea to see what CodeForces have done through the week. As in general, lots of good problems. Thus, starting with the easiest one in the second division. A. The Monster A monster is …

C# – Code Forces – Codeforces Round #406B Read more »

C# – Code Forces – Codeforces Round #402B

By Vitosh Posted on March 15, 2017 Posted in C Sharp Tricks Tagged with C#, codeforces, Codeforces Round #402B
C# – Code Forces – Codeforces Round #402B

Codeforces.com is really a nice site, if want to try yourself vs. the top programming students in the world. Just to check your level in a way 🙂 Thus, today I have decided to take a look at the problems …

C# – Code Forces – Codeforces Round #402B Read more »

Code Forces – New Year and North Pole – A problem much easier than initially thought

By Vitosh Posted on January 7, 2017 Posted in C Sharp Tricks Tagged with Algorithms, C#, codeforces
Code Forces – New Year and North Pole – A problem much easier than initially thought

In the new 2017 I have decided to take a new look at CodeForces and what do they bring us. After all, this is one of the very few “places” in the world, where you can compete with the world …

Code Forces – New Year and North Pole – A problem much easier than initially thought Read more »

C# – Algorithms – Parade – CodeForces.com

By Vitosh Posted on November 24, 2016 Posted in C Sharp Tricks Tagged with algorithm, C#, codeforces
C# – Algorithms – Parade – CodeForces.com

CodeForces.com is really a nice place you can learn stuff. Learning by doing is probably what man actually needs in programming. Thus, I have taken the 2. Problem of the 2. Division in CodeForces, as far as it seemed interesting …

C# – Algorithms – Parade – CodeForces.com Read more »

C# – Algorithm – Bear And Prime, Interactive Problem in CodeForces

By Vitosh Posted on June 10, 2016 Posted in C Sharp Tricks Tagged with C#, codeforces
C# – Algorithm – Bear And Prime, Interactive Problem in CodeForces

On Wednesday I was participating in a round of the second division of Codeforces.Com and I managed to resolve 2 problems (1 completely, 1 not exactly completely :)). The third problem was written to be “interactive” and as far as …

C# – Algorithm – Bear And Prime, Interactive Problem in CodeForces Read more »

C# – Algorithms – Vanya and Label

By Vitosh Posted on June 6, 2016 Posted in C Sharp Tricks Tagged with C#, codeforces, Vanya and Label
C# – Algorithms – Vanya and Label

On Wednesday I have participated in a codeforces.com competition and it was not as quite successful as I wished it to be. I managed to solve 2 problems and 1 of them was “hacked”, which means 1 problem. Anyhow, I was …

C# – Algorithms – Vanya and Label Read more »

Python – Algorithm from CodeForces – Bears and Blocks

By Vitosh Posted on August 30, 2015 Posted in Python Tagged with codeforces, ListOfLists in Python, negative array index python, Python
Python – Algorithm from CodeForces – Bears and Blocks

Hello party people! 🙂 Today I was wondering whether I have forgotten to code in Python after 4 weeks of coding marathon in VBA and I have decided to try a small portion of the weekly challenge from CodeForces! So, the …

Python – Algorithm from CodeForces – Bears and Blocks Read more »

Python – two solutions in codeforces.com

By Vitosh Posted on July 10, 2015 Posted in VBA \ Excel Tagged with codeforces, Python
Python – two solutions in codeforces.com

Yesterday, I have decided to make an account in codeforeces.com and to check how the system works. Pretty much quite well, in 90 minutes I have managed to solve 2 of the 5 problems: I have decided to stop, because for …

Python – two solutions in codeforces.com Read more »

Copyright © 2026 VitoshAcademy