パナソニックグループプログラミングコンテスト2023(AtCoder Beginner Contest 301)...
source link: https://codeforces.com/blog/entry/116437
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
We will hold パナソニックグループプログラミングコンテスト2023(AtCoder Beginner Contest 301).
The point values will be 100-200-300-400-475-500-600-625. (Since this ABC, we adjust the point values depending on problems.) We are looking forward to your participation!
3 days ago, # | Finally Atcoder is adjusting point values depending on their difficulties:P |
Perfect, 502 Bad Gateway and 504 Gateway Time-out was all we needed!! |
3 days ago, # | DDOS again :( |
3 days ago, # | Imagine Naming a problem Anti-DDoS and the server suffers from DDoS problem |
3 days ago, # | How to solve D? |
-
Digit DP
-
it's not digit DP
-
Can you point out the mistake in this approach? We first replace all '?' with '0' and store indices of all '?' in a vector. Then we iterate on every element x of the vector and check if setting xth bit to 1 would give a number smaller than or equal to N. If you get a valid number, change '0' to '1' at that index.
Code
-
-
-
Implementation :( I unwanted memoized it with dp my submission.
DDOS didn't get chill with me.. when I play good round gets unrated and when bad gets rated :(
-
I've solved it with a greedy technique.
My Algorithm is:
1- Compute the current value of string S in decimal representation and neglect all '?' symbols in it
2- Iterate over string S from MSB (most significant bit) and check if the current symbol is '?' and the (value of current value of S + pow (2, size(s)-idx-1)) is less than or equal to N, then I'll flip this symbol to 1 and add pow (2, size(s)-idx-1) to current value of s, else I will flip it to 0.
3 days ago, # | Can I somehow download the test case? problem E, last test. |
-
I faced the same problem,
I thought he had to stop once he reached the Goal square (meaning he can't visit the goal square multiple times). This was giving WA.
Maybe the wording of the question could have been better :(
3 days ago, # | I found D much harder to solve than E. 😿 |
3 days ago, # | My solution to problem E is as follows.
Is this the intended solution or there is some simpler one. |
3 days ago, # | didnt get in contest but f was fun, thanks to authors |
3 days ago, # | Something really weird happened to me in problem C today. I got WA and I lost almost the entire contest trying to find what was wrong with my code. Now I managed to get AC by changing only one line in my code: The only difference is how I iterate the string |
90 minutes ago, # | May I ask when the data for abc301 will be available? Thank you. |
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK