I was trying to solve this problem PRIME PROBLEM . There is no editorial for this problem . I tried to solve this problem and saw some solutions but could not understand logic behind the solutions. Can anybody explain ?
# | User | Rating |
---|---|---|
1 | tourist | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 161 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | awoo | 154 |
8 | Dominater069 | 154 |
10 | luogu_official | 150 |
I was trying to solve this problem PRIME PROBLEM . There is no editorial for this problem . I tried to solve this problem and saw some solutions but could not understand logic behind the solutions. Can anybody explain ?
I was solving this problem in APAC Clash Royale I was able to solve small test cases using dynamic programming but I have no idea how to solve large test cases . Any help ?
Hello everyone, I was practicing dynamic programming and I came across this problem :- http://www.spoj.com/problems/SEQ/ . I read a blog on solving linear recurrences here :- http://fusharblog.com/solving-linear-recurrence-for-programming-contest/ and used same technique to solve the problem .
My output for sample cases is correct but I am getting WA on submit. My solution is http://pastebin.com/tYt0LCw2 . Can anybody help me ? I am new to dynamic programming.
Hello fellow coders!! I am a 2nd year undergraduate at MNNIT-Allahabad and I have remodelled Codeforces Toolkit originally developed by my senior pakhandi. My friends shark_s and pdoongarwal helped me in this project.
Here is the link to it :-CF toolkit
Here is link to source code :- Source Code
Here is a short description of utilities :
Last 15 submissions : A php page to view last 15 submissions by a user..
All Solved : A php page to view all the solved problems by a user..
Common submissions : A php page to view common questions solved by two users..
Compete : A php page to compare the statistics of two users..
It is attempt on making something which is related to what we do i.e.,competitive programming.
We are a bunch of enthusiastic coders who want to code,build,hack.Any ideas for new features are welcome.
Name |
---|