Comments

y in the first fragment is a copy of an element of map m. Erasing elements from y wouldn't change m.

Could you please send that to me as well? The aforementioned one is expired indeed.

On lis05codeforces.com not working, 3 years ago
+1

Had same issues yesterday and today when used saved link, which was www.codeforces.com. Without www. it seems to work.

+71

Fun fact: some time ago I was invited to make a number of videolectures of a similar kind (just like the one on cartesian trees, but dedicated to other topics) for a certain customer. At that time, I thoroughly recorded my labor costs, and it turned out making even single lecture takes a tremendous amount of man-hours.

For example, a lecture on C++ sequential data structures, consisting of 9 parts with a total duration about 140 minutes, took more than 90 hours to make — ~27 hours to create slides, ~22 hours to write a script, ~9 hours to actually record and terrifying ~34 hours to edit a video.

Thus, the $1000 reward may seem huge, but if we divide it by 90 hours, we'll get less than $12/hour (which, on the one hand, is still quite a lot compared to typical Russian universities teachers' reward, but, on the other hand, leaves much to be desired compared to the wages in other countries and types of work).

And if someone is wondering why does it take so long,

I'll hide my thoughts on that under the spoiler, since I don't want to impose them.

I have certain troubles with logging in Web Arena now.

First I see

this login form

, where I type my login and password. This authentificates me at TopCoder site.

Then I see

a second form

, which keeps telling me that either username or password is wrong. But I can successfully log in to Applet Arena with those. Both "register" and "reset password" links lead nowhere.

UPD: And when I'm trying to open arena.topcoder.com after log in topcoder.com site, it results in an infinite loop striving to load https://accounts-auth0.topcoder.com/?retUrl=https:%2F%2Farena.topcoder.com%2Findex.html

Oh, thank you. Apparently, one of my browser extensions blocked these stars for some reason, so the standings page looked

like this

. to me. Now I've disabled the extension and the stars are back. Thank you again.

My question was about editing that list, i. e. how to add a new user to it.

Is there still an opportunity to somehow edit the list of users one's following? If I remember correctly, there was a star-like button in standings, but now I see no things like that.

0

I did the same for the same reason, now the 2021 t-shirt has already been delivered (to Europe).

Here are my solutions for A2 and A3. One can see that both contain testing functions.

...Or you could generate random maxtests to check wheither your solution processes them reasonably fast and then notice that the answer overflows. That was precisely my case with that problem.

And, by the way, "always do not forget to test wheither maxtest processing fits in time limit" was my takeaway from another failed round (it's highly possible that was a FHC round).

In problems with multitests one may not return from solve function until all input is read.

On hmehtaTCO21 Algorithm Round 2A, 5 years ago
+7

Opened 250: HOLY CRAP just look at this gorgeous WALL OF TEXT on an one-hour contest! TL;DR: okay, we have rock-scissors-paper, we know nothing about what is where, and further it all would be shuffled in two different ways, uh-huh, and we just need to correctly guess which beats which... almost everytime, hm. Yes, I know precisely what to do with this problem (*Closes 250).

Opened 600: Yeah, this one definitely seems more doable. (*Spends 1h on Kosaraju, condensations and stuff only to conclude there are no viable ideas left.)

Reopened 250: Okay, we have about 10 more minutes to go, sure it is pretty enough time to submit some YOBA solutions on this one. (*Writes 10 lines, the solution passes samples... and systests) YOU GOTTA BE KIDDI

+3

I suggest you to sort problems by difficulty. Problem letters are almost always meaningless.

Some years ago I saw this and this generalized segment tree implementations by indy256 and learned a lot from them. Maybe you'll find them interesting.

On ZloboberVK Cup 2015: first day, 11 years ago
+15

http://mirror.codeforces.com/contest/561/problem/A

http://mirror.codeforces.com/contest/561/problem/B

The amateur translation for questions from problem A:

  1. You are participating in a marathon and have just overtaken the second runner. Which is your current place? A. First B. Second C. Third D. Last E. This is impossible
  2. Which is the second planet of Solar System by orbit distance from Sun? A. Uranus B. Mars C. Mercury D. Venus E. Earth
  3. Which city is pictured on the modern 5000 roubles banknote? A. Yaroslavl B. Khabarovsk C. Arkhangelsk D. Krasnoyarsk E. Astapor
  4. Choose the right spelling: A. Burnir and collander B. Burnir and colander C. Burner and collander D. Burner and colander
  5. Five cards of the same suit in poker is: A. Straight B. Triplet C. Full house D. Square E. Flush
  6. When the first iPhone was released? A. 2006 B. 2007 C. 2008 D. 2009 E. There was no the first one, the second one was released instead
  7. When (approximately) did the dinosaurs become extinct? A. 1 million years ago B. 5 million years ago C. 50 million years ago D. 500 million years ago
  8. How many faces does the dodecahedron have? A. 4 B. 6 C. 12 D. 20 E.24
  9. Who decided to stop writing poetry after conversation with The Master? A. Ivan Pribludny B. Aleksander Bezymensky C. Sergei Yesenin D. Berlioz E. Ivan Bezdomny
  10. Choose the right name for the phenomenon of spontaneous mixing of substances: A. Difraction B. Dispersion C. Polarization D. Diffusion E. Interferention

I suppose this paper would be useful for you.

On AtefCodeforces Beta Round #83, 15 years ago
0
But if we use x=310=112 which fits in 2 bits, we will get x2=910=10012, which doesn't feet in 3 bits.