Daily Diary (Competitive Coding in Summers)

Правка en2, от satylogin, 2017-05-17 10:51:46

I realised that there is only one way improve one's skill, and that is through practice. So I decided to practice more topics and more problems on codeforces and different judges. This is simply a daily record for what I did through my vacation.

I also want to tell you about stopstalk.com. It is a good site to make and keep you daily coding record.

16 MAY 2017

Problems Solved -
1. http://codeforces.me/problemset/problem/535/D
This was a simple problem and it used Z function for prefix length calculation
solution linkhttp://codeforces.me/contest/535/submission/27152004
2. http://codeforces.me/problemset/problem/551/B
Although the problem was simple, I had some trouble in understanding the language of the problem. It took time more than required.
solution linkhttp://codeforces.me/contest/551/submission/27160921


Participated Contest -

I participated in a virtual contest ( Round 308 DIV 2 ). I was able to solve all the problems, but then last problem was accepted just 2 min before the contest ended.

A. http://codeforces.me/problemset/problem/552/A
The problem was fairly simple, but then rather than simply adding the area, I made a 2-D hash map. Guess I have to practice a little more for problem A.
solution linkhttp://codeforces.me/contest/552/submission/27165795
B. http://codeforces.me/problemset/problem/552/B
The problem was mathematical. I solved it by forming a series. Got one WA for not using long long.
solution linkhttp://codeforces.me/contest/552/submission/27165912
C. http://codeforces.me/problemset/problem/552/C
I solved the problem using meet in middle. But the editorial talked about an another wonderful way to solve that. Do watch the editorial solution. It is an excellent concept in itself.
solution linkhttp://codeforces.me/contest/552/submission/27166275
D. http://codeforces.me/problemset/problem/552/D
This was another interesting problem to solve. I used concept of slopes to generate triangle. Got 4 WA. Was not taking care of slope sign and was not handling 0 slope and inf slope cases.
solution linkhttp://codeforces.me/contest/552/submission/27166893
E. http://codeforces.me/problemset/problem/552/E
Pretty interesting problem to solve both by greedy and by DP. I used the later N*N approach. Initially thought of using multiplication as boundaries, but then didn't wanted to take risk. Got 4 WA because of simple mistakes in the loops. Got accepted just before 2 min from end.
solution linkhttp://codeforces.me/contest/552/submission/27167519

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en23 Английский satylogin 2017-06-12 12:02:00 969
en22 Английский satylogin 2017-06-09 10:18:55 1307 Tiny change: 'n###### 1.http://cod' -> 'n###### 1. http://cod'
en21 Английский satylogin 2017-06-06 08:48:57 709
en20 Английский satylogin 2017-06-03 21:23:27 1185
en19 Английский satylogin 2017-06-02 21:04:12 949
en18 Английский satylogin 2017-05-31 19:36:34 1125
en17 Английский satylogin 2017-05-30 20:26:54 2883
en16 Английский satylogin 2017-05-29 16:59:46 1192
en15 Английский satylogin 2017-05-28 14:55:26 1801
en14 Английский satylogin 2017-05-27 08:30:54 7 Tiny change: 'r>\n\n## 25 MAY 2017\' -> 'r>\n\n## 26 MAY 2017\'
en13 Английский satylogin 2017-05-27 08:30:17 925
en12 Английский satylogin 2017-05-26 05:14:51 2081
en11 Английский satylogin 2017-05-25 07:31:25 131
en10 Английский satylogin 2017-05-24 08:48:14 2279 Tiny change: '>\n\n##### 5. h' -> '>\n\n###### 5. h'
en9 Английский satylogin 2017-05-23 07:48:10 298
en8 Английский satylogin 2017-05-22 08:26:38 3083
en7 Английский satylogin 2017-05-21 08:57:38 937
en6 Английский satylogin 2017-05-20 10:22:41 1031 Tiny change: 'eddc17Y\n<spoiler>' -> 'eddc17Y\n</spoiler>'
en5 Английский satylogin 2017-05-19 07:56:54 1865 Tiny change: 'ved - \n\n1. http://' -> 'ved - \n\n###### 1. http://'
en4 Английский satylogin 2017-05-18 04:50:02 1357
en3 Английский satylogin 2017-05-17 11:28:10 5 Tiny change: 'you about stopstalk.com. It is a ' -> 'you about **stopstalk.com** . It is a '
en2 Английский satylogin 2017-05-17 10:51:46 0 (published)
en1 Английский satylogin 2017-05-17 10:51:06 2862 Initial revision (saved to drafts)