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://mirror.codeforces.com/problemset/problem/535/D
This was a simple problem and it used Z function for prefix length calculation
solution link — http://mirror.codeforces.com/contest/535/submission/27152004
2. http://mirror.codeforces.com/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 link — http://mirror.codeforces.com/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://mirror.codeforces.com/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 link — http://mirror.codeforces.com/contest/552/submission/27165795
B. http://mirror.codeforces.com/problemset/problem/552/B
The problem was mathematical. I solved it by forming a series. Got one WA for not using long long.
solution link — http://mirror.codeforces.com/contest/552/submission/27165912
C. http://mirror.codeforces.com/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 link — http://mirror.codeforces.com/contest/552/submission/27166275
D. http://mirror.codeforces.com/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 link — http://mirror.codeforces.com/contest/552/submission/27166893
E. http://mirror.codeforces.com/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 link — http://mirror.codeforces.com/contest/552/submission/27167519
17 MAY 2017
Solved very few problems. Found a lot of problems hard to solve.
Problems Solved -
1. http://mirror.codeforces.com/problemset/problem/551/C
It was a good problem of binary search. Although I found it a little hard for problem C Div 2. Guess I have practice still more. It used an standard NlogN solution using binary search where we have to binary search over the completion time of the task and then check the users required. Good problem for practice.
solution link — http://mirror.codeforces.com/contest/551/submission/27175198
2. http://mirror.codeforces.com/problemset/problem/549/A
Fairly easy problem. Requires direct implementation
solution link — http://mirror.codeforces.com/contest/549/submission/27181042
3. http://mirror.codeforces.com/problemset/problem/534/E
very good problem for practice. I was missing a lot of corner cases while solving. Had to search for a method to find mismatch in logN time in the array. I think this problem was worth solving.
solution link — http://mirror.codeforces.com/contest/534/submission/27184116
Problems Unsolved -
1. http://mirror.codeforces.com/problemset/problem/534/F
2. http://mirror.codeforces.com/contest/549/problem/H
It would be a great help if someone could help me with the unsolved problems.
18 MAY 2017
Problems Solved -
I solved some simple problems on hackerearth and URI. One problem that I liked was from URI —
1. https://www.urionlinejudge.com.br/judge/en/problems/view/1469
This was a good problem where we had to swap nodes. I used map for mapping and index function and an inverse index function for getting position of a node and getting value at any position. for swapping, I swapped those two.
solution link — https://code.hackerearth.com/a4c9b2Y
Then some problems on codeforces
1. http://mirror.codeforces.com/problemset/problem/549/H
Finally solved the matrix problem. Used binary search for reducing the size of squares.
solution link — http://mirror.codeforces.com/contest/549/submission/27189164
2. http://mirror.codeforces.com/problemset/problem/519/A
Direct implementation
solution link — http://mirror.codeforces.com/contest/519/submission/27193319
3. http://mirror.codeforces.com/problemset/problem/519/B
Direct implementation
solution link — http://mirror.codeforces.com/contest/519/submission/27201264
4. http://mirror.codeforces.com/problemset/problem/519/C
Turned out to be easy for problem C. Just travel over one possible value, then find the value of other and then maximise the sum.
solution link — http://mirror.codeforces.com/contest/519/submission/27201384
5. http://mirror.codeforces.com/problemset/problem/519/D
Had fun while solving this. Used map to store pairs of character and prefix sum values. Then used a linear algorithm to add values for all location while deleting previously occurred nodes. Did in NlogN.
solution link — http://mirror.codeforces.com/contest/519/submission/27202224
Problems unsolved -
1. http://mirror.codeforces.com/problemset/problem/519/E
19 MAY 2017
I only participated in a virtual contest on URI. Few of the good problems were —
1. https://www.urionlinejudge.com.br/judge/en/problems/view/2049
2. https://www.urionlinejudge.com.br/judge/en/problems/view/1923
3. https://www.urionlinejudge.com.br/judge/en/problems/view/1580
20 MAY 2017
Today I solved problems on snackdown qualifiers and hackerearth circuits. In night, I participated in round 415 DIV 2. The results were not very good. Was only able to solve 3 problems. I feel like I have difficulty with interactive problems. Will have to practice more.
Apart from the contests, I solved an extra problem on hackerrank.
21 MAY 2017
Today I practise some problems on codeforces and spoj.
1. http://www.spoj.com/problems/LCA/
2. http://mirror.codeforces.com/problemset/problem/192/E
3. http://mirror.codeforces.com/problemset/problem/556/A
4. http://mirror.codeforces.com/problemset/problem/556/B
5. http://mirror.codeforces.com/problemset/problem/556/C
6. http://mirror.codeforces.com/problemset/problem/556/D
22 MAY 2017
Today was an extremely bad day for me. I participated in a virtual contest and was able to solve only 2 problems. Realised how bad I am at geometry. So tomorrow is going to be an extensive practice session. I also solved one problem on hackerearth circuits. A bad day :(
23 MAY 2017
Today I solved a few problems and participated in a virtual contest. Guess something went wrong with CF. In the middle of virtual contest, It dumped me out of the contest, and when 45 min were left, It again brought back me in. I solved One problem on hackerearth circuits.
solved problems
1. http://mirror.codeforces.com/problemset/problem/471/A
2. http://mirror.codeforces.com/problemset/problem/471/B
3. http://mirror.codeforces.com/problemset/problem/471/C
4. http://www.codeforces.com/problemset/problem/471/D
5. http://mirror.codeforces.com/problemset/problem/208/E
6. https://www.hackerrank.com/challenges/inverse-rmq
24 MAY 2017
Still doing hackerearth circuits. Unable to do consecutive remainder. Still have to practice more maths.
25 MAY 2017
Practiced some easy problems on hackerearth and codeforces. The problems that I practiced on hackerearth were very easy. I cannot say the same for codeforces. Today's question were a bit harder.
1. http://mirror.codeforces.com/problemset/problem/609/E
2. http://mirror.codeforces.com/problemset/problem/519/E
3. http://mirror.codeforces.com/problemset/problem/560/C
4. http://mirror.codeforces.com/problemset/problem/560/D
5. http://mirror.codeforces.com/problemset/problem/560/E
26 MAY 2017
1. https://www.hackerearth.com/practice/algorithms/greedy/basics-of-greedy-algorithms/practice-problems/algorithm/little-monks-interviews/
2. https://www.hackerearth.com/practice/algorithms/greedy/basics-of-greedy-algorithms/practice-problems/algorithm/rjit-need-leaves/
3. https://www.codechef.com/problems/COOK82D
27 MAY 2017
1. http://mirror.codeforces.com/problemset/problem/811/B
2. http://mirror.codeforces.com/problemset/problem/558/B
3. http://mirror.codeforces.com/problemset/problem/557/A
4. http://mirror.codeforces.com/problemset/problem/557/B
5. http://mirror.codeforces.com/problemset/problem/557/C
6. http://mirror.codeforces.com/problemset/problem/811/A
7. http://mirror.codeforces.com/problemset/problem/811/C
28 MAY 2017
1. https://www.codechef.com/problems/DIVGAME
2. https://www.hackerearth.com/practice/algorithms/greedy/basics-of-greedy-algorithms/practice-problems/algorithm/little-monk-and-his-toy-story/
3. https://www.hackerearth.com/problem/algorithm/even-sum/
4. https://www.hackerearth.com/practice/algorithms/greedy/basics-of-greedy-algorithms/practice-problems/algorithm/little-monk-and-library/
29 MAY 2017
1. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/sorted-string/
2. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/caesars-cipher-1/
3. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/marut-and-strings-4/
4. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/secret-messages/
5. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/remove-duplicates-3/
6. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/lexical-analyzer-3/
7. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/ashish-and-binary-matrix-1/
8. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/palindromes-3/
9. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/xenny-and-partially-sorted-strings-7/
30 MAY 2017
1. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/find-the-substrings/
2. https://www.hackerearth.com/problem/algorithm/benny-and-her-school-reports/
3. http://mirror.codeforces.com/problemset/problem/558/C
4. http://mirror.codeforces.com/problemset/problem/558/D
31 MAY 2017
1. http://mirror.codeforces.com/problemset/problem/558/E
2. http://mirror.codeforces.com/problemset/problem/567/A
3. http://mirror.codeforces.com/problemset/problem/567/B
4. http://mirror.codeforces.com/problemset/problem/567/C
1 JUNE 2017
Just gave the contest on codeforces
2 JUNE 2017
1. http://mirror.codeforces.com/problemset/problem/577/C
2. http://mirror.codeforces.com/problemset/problem/577/B
3. http://mirror.codeforces.com/problemset/problem/577/A
4. http://mirror.codeforces.com/problemset/problem/567/E
3 JUNE 2017
Doing Codechef Long Challange
4 JUNE 2017
1. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/missing-alphabets-1/
2. https://www.hackerearth.com/practice/algorithms/string-algorithm/basics-of-string-manipulation/practice-problems/algorithm/change-string/
5 JUNE 2017
Did codechef long and participated in education codeforces round
6 JUNE 2017
1. http://mirror.codeforces.com/problemset/problem/570/A
2. http://mirror.codeforces.com/problemset/problem/221/B
3. http://mirror.codeforces.com/problemset/problem/121/A
7 JUNE 2017
Did contest on codeforces
8 JUNE 2017
1. http://mirror.codeforces.com/problemset/problem/570/C
2. http://mirror.codeforces.com/problemset/problem/456/D
9 JUNE 2017
1. http://mirror.codeforces.com/problemset/problem/13/E
2. http://mirror.codeforces.com/problemset/problem/404/A
10 JUNE 2017
Practised some simple problems on CF.
11 JUNE 2017
Solved MKTHNUM on spoj.
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
-edited- (it is the same as the next comment)
Thanks ... :)
Oh my, this is so gooooood...
You should highlight the website of stopstalk.com btw. Already registered, ;)
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Hey @satylogin, Thanks a lot for mentioning StopStalk :) There are quite a few features which will help you maintain your Competitive Programming progress and would request every competitive programmer to have a look at it just once ( https://www.stopstalk.com/ ). For more details follow this thread — http://mirror.codeforces.com/blog/entry/44190.
Also, for viewing / downloading all the submissions whose link you just mentioned, you can just use the StopStalk Filter page. Example usage — https://www.stopstalk.com/filters/1?name=satylogin&pname=&status=AC&site=CodeForces&start_date=2017-05-16&end_date=2017-05-16&global=True
you are welcome... I really love this site...
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
i think this is a great idea this will be a great help for those who don't what to do next but try to also record what you done other than practice, meaning studying topics, team training, etc.
Thanks
Good strategy. I will follow your thread too :)
thanks
For H You can have a look at my submission code![](/predownloaded/e4/b8/e4b80e0250223fa8906da45a0d364a0094863c2c.jpg)
Just find maximum of all 4 take the answer Corner Case is for degenerate input matrix itself .For that answer is 0 as other matrix can be same. so Norm will be 0.
thanks
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Good idea to keep yourself motivated :)
Thanks yaar :)
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
This is getting bigger everyday. Wow!
I think you should create blog on blogspot or somewhere else and make one blog for each day.
Thanks... It is really good to know that people are reading it. And thanks for the suggestion. Will try that too. :)
Thanks this is a great help to those of us are self learning and don't know what to do next
You are welcome. I am really glad that I could be of any help. :)
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
use
[stopstalk.com](https://www.stopstalk.com/)
instead of stopstalk.comAuto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Amazing work ! I am thinking of doing the same too
Thanks for appreciation. :)
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).
Auto comment: topic has been updated by satylogin (previous revision, new revision, compare).