How optimal is your CP setup? Click here and find it out!

Правка en1, от Wandoka, 2024-09-06 20:38:15

Recently I thought a lot about optimizing my setup. I don't think it is an important aspect of cp, as it barely affects the performance, but it is fun to think about notherless.

In this blog you will be able to determine whether you have an optimal setup or not. I will list critiria and points you get for satisfing each on of them. In the end I do the breakdown for different point ranges.

I won't include things like "having a monitor" or "having internet connection", but I will be including basically everything else. This blog is mainly made for laughs, but if you are new, you will probably learn something new, even though it won't help you to increase you rating (except the true criminal cases :skullemoji:)

10 points: You can compile and run you code.

For some people will find it surreal that this point even exists. I knew I lot of school kids that never figured out how to run their code locally. I even saw some people like this in the university. And juding by 73 pages of Compilation Error submissions from the last Div 4 contest, I have seen nothing yet.

You HAVE TO able to run your code locally. Even LGM's run their $$$A$$$ solutions on the sample tests.

5 points: Your text editor does not lag / crash

When I was writing local contests in my Kursk region during my school years, I encountered some truly old machines, where I saw visible lag while typing text. Probably I should not have used Visual Studio on machine that could barely run it. So if you have the same issues, I think you understand why you lose 10 points for that.

2 points: You can compile and run your code with no internet

Some people you online editors like this one. I think not being able to compile without having internet it is a pretty big deal. Even if your country has a very stable internet provider, accidents still might happen.

2 points: you can benefit from syntax highlighting and you use it.

If you are not colorblind, or if you have been used to mono blue text on a blue screen like my dad, you will probably benefit from making you code more readable by coloring it in different colors depending on the context.

Don't subtract the points if you know how to enable syntax highlighting and prefer not to use it.

1 point: When you code, you understand everything that is open on the screen.

If you are using modern IDE like Clion or Visual Studio, you might have a lot of windows opened on your screen. If they take up space, and you have no idea what they mean / you never use them, you are probably being suboptimal, so you are getting -1 point.

1 point: You are able to see how many seconds you program took to run

If you run your code and have to count seconds in your head to check if it fits into time limit or not, you are probably doing something wrong. It is true that you still probably won't be able to accuratlly predict the time usage of the program on the codeforces server, because the specs of your computer may be different. But being able to determain whether your solutions runs faster or slower on a max test after you fix is important.

1 point: You can see how much memory your program used.

In certain implementations it is hard to determine how many megabytes of memory your solution takes, so it is crucial to be able to see that information without submission your solution and hoping for the best.

3 points: You are able to see mistakes you make in the syntax of your program without running it (in other words, you are using a Language Server)

If you only can see that you have made a typo only after you compiled your code, that you have to fix the mistake, then compile the program again. It wastes time, it is suboptimal, you get -3 points.

Теги personality test, setup, just for fun

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en41 Английский Wandoka 2024-09-11 15:45:13 0 (published)
en40 Английский Wandoka 2024-09-11 15:43:43 97 (saved to drafts)
ru23 Русский Wandoka 2024-09-11 10:12:24 0 (опубликовано)
en39 Английский Wandoka 2024-09-11 10:11:52 0 (published)
ru22 Русский Wandoka 2024-09-11 10:10:03 38
en38 Английский Wandoka 2024-09-11 10:09:38 38
en37 Английский Wandoka 2024-09-11 10:04:14 19 Tiny change: ' 4 contest](https://' -> ' 4 contest on problem A alone](https://'
en36 Английский Wandoka 2024-09-10 17:37:26 331
ru21 Русский Wandoka 2024-09-10 17:36:34 54
ru20 Русский Wandoka 2024-09-10 17:34:13 90
en35 Английский Wandoka 2024-09-10 10:29:23 2 Tiny change: '\n- **20-36)** You ar' -> '\n- **20-35)** You ar'
ru19 Русский Wandoka 2024-09-10 10:29:09 2 Мелкая правка: '\n- **20-36)** В ваше' -> '\n- **20-35)** В ваше'
en34 Английский Wandoka 2024-09-10 10:27:13 5
ru18 Русский Wandoka 2024-09-10 10:25:53 198
ru17 Русский Wandoka 2024-09-10 10:23:43 13
ru16 Русский Wandoka 2024-09-10 10:19:48 9
ru15 Русский Wandoka 2024-09-10 10:16:41 5
ru14 Русский Wandoka 2024-09-10 10:13:38 22
ru13 Русский Wandoka 2024-09-10 10:08:04 2 Мелкая правка: 'вые занятие (группы и' -> 'вые занятия (группы и'
ru12 Русский Wandoka 2024-09-10 10:05:47 1880
ru11 Русский Wandoka 2024-09-10 09:59:25 1787
ru10 Русский Wandoka 2024-09-10 09:48:27 2015
en33 Английский Wandoka 2024-09-10 09:41:49 830
ru9 Русский Wandoka 2024-09-10 09:37:40 1852
ru8 Русский Wandoka 2024-09-10 09:25:46 2132
en32 Английский Wandoka 2024-09-10 09:16:05 233
ru7 Русский Wandoka 2024-09-10 09:15:26 4741
en31 Английский Wandoka 2024-09-10 09:02:35 136
ru6 Русский Wandoka 2024-09-10 08:59:30 5802
ru5 Русский Wandoka 2024-09-09 19:53:04 852
ru4 Русский Wandoka 2024-09-09 19:46:54 3 Мелкая правка: ' из аниме из Вконтакте.' -> ' из аниме вВконтакте.'
ru3 Русский Wandoka 2024-09-09 19:46:36 190
ru2 Русский Wandoka 2024-09-09 18:58:52 1664
ru1 Русский Wandoka 2024-09-09 18:51:56 12955 Первая редакция перевода на Русский (сохранено в черновиках)
en30 Английский Wandoka 2024-09-09 18:50:07 199
en29 Английский Wandoka 2024-09-09 18:46:41 100
en28 Английский Wandoka 2024-09-09 18:45:28 3 Tiny change: 'ou to $100%$ accuratel' -> 'ou to $100$ % accuratel'
en27 Английский Wandoka 2024-09-09 18:44:59 5
en26 Английский Wandoka 2024-09-09 18:42:39 3 Tiny change: 'r you are $\color{green}{~1200}$ and' -> 'r you are ~ $\color{green}{1200}$ and'
en25 Английский Wandoka 2024-09-09 18:42:18 7
en24 Английский Wandoka 2024-09-09 18:41:56 5 Tiny change: 'or{green}{~1200}$ and wasti' -> 'or{green}{1200}$ ish and wasti'
en23 Английский Wandoka 2024-09-09 18:41:32 2 Tiny change: 'r you are ~$/color{green}{1200}$ and' -> 'r you are $/color{green}{~1200}$ and'
en22 Английский Wandoka 2024-09-09 18:40:30 165
en21 Английский Wandoka 2024-09-09 18:32:20 1 Tiny change: 'ng each on of them. ' -> 'ng each one of them. '
en20 Английский Wandoka 2024-09-09 18:31:41 19 Tiny change: 'one.\n\n\n\n\n' -> 'one.\n\n\n###Shameless plug\n\n\n'
en19 Английский Wandoka 2024-09-09 18:30:24 29
en18 Английский Wandoka 2024-09-09 18:28:42 986
en17 Английский Wandoka 2024-09-09 18:08:10 7792
en16 Английский Wandoka 2024-09-09 17:37:27 3121
en15 Английский Wandoka 2024-09-09 17:07:43 19 Tiny change: 't.\n\nYou HAVE TO able to r' -> 't.\n\nYou **have to** be able to r'
en14 Английский Wandoka 2024-09-09 17:07:08 20 Tiny change: ': I don't compile my code b' -> ': I don't know how to run my code b'
en13 Английский Wandoka 2024-09-09 17:05:47 236
en12 Английский Wandoka 2024-09-09 17:03:22 189
en11 Английский Wandoka 2024-09-09 17:01:57 4
en10 Английский Wandoka 2024-09-09 17:01:08 1467
en9 Английский Wandoka 2024-09-09 16:45:29 8
en8 Английский Wandoka 2024-09-09 16:45:03 655
en7 Английский Wandoka 2024-09-09 16:37:59 229
en6 Английский Wandoka 2024-09-07 18:58:40 34 Tiny change: 'g yet.\n\nYou HA' -> 'g yet.\n\n[vote] kekking\n\nYou HA'
en5 Английский Wandoka 2024-09-07 18:45:05 784
en4 Английский Wandoka 2024-09-06 21:27:05 4 Tiny change: 'point.\n\n\n\n \n\n\' -> 'point.\n\n \n\n\'
en3 Английский Wandoka 2024-09-06 21:21:32 1245
en2 Английский Wandoka 2024-09-06 21:11:44 3844
en1 Английский Wandoka 2024-09-06 20:38:15 3975 Initial revision (saved to drafts)