Can someone tell me why i got memory limit on my code ? and how can i make it better here is my submission: 271963441
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3880 |
2 | jiangly | 3669 |
3 | ecnerwala | 3654 |
4 | Benq | 3627 |
5 | orzdevinwang | 3612 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | jqdai0815 | 3532 |
9 | Radewoosh | 3522 |
10 | gyh20 | 3447 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | adamant | 156 |
4 | maroonrk | 153 |
5 | -is-this-fft- | 148 |
5 | SecondThread | 148 |
5 | atcoder_official | 148 |
8 | Petr | 147 |
9 | nor | 144 |
9 | TheScrasse | 144 |
Can someone tell me why i got memory limit on my code ? and how can i make it better here is my submission: 271963441
If i have a sorted vector like this v={ 5,6,7,8,9,10,11 } how can i get the number of elements that are bigger than x? lets say x is 9 so the number of elements bigger than 9 equals 2 how can i code that?
i was solving this problem from the last div4 1971E - Find the Car and here is my submisson: 260566589 — i'am getting WA in testcase 19 and i found out it's because i'am using (double) , why is that can someone explain?
I keep getting TLE on my solution and idk why can someone help me understand? problem: 1822G1 - Magic Triples (Easy Version) my sub:257235493
So i have been practicing 1400 rated problems since i got to pupil i have solved so far 27 problems , i got stuck and had to read tutorials for about 12 of them and the rest i solved by myself , Now , is this ratio good? should i move on to 1500 rated problems? or should i solve more 1400 problems , also i have solved 29 problems rated 1200 after that i switched to 1400 rate because 1200 rate got too easy for me and i could find the solution to any 1200 problem but i don't feel the same about 1400 rated problems by the way i skipped problems that was solvable only using dp or graph since i didnt learn them yet and people suggested me to leave them and foucse on binary search and greedy instade , despite that i can't say i can solve any 1400 rated problem at the same time i can solve between 50%-60% of them.
So what do you think should i switch or stay at 1400 until i find them too easy?
So i have been practicing every day for the last 2 months i manged to reach pupil in the last Global round and sloved 3 problems i did really bad in the last div3 since i was upset about something but i manged to solve 5 problems outside the contest Now, what should i do? i dont know any graph or dp or binary search(i only know basic binary) or bitwise and i'am not really good at math problems , so should i start learning this topics? or just keep solving random problems ? i'am currently solving problem at rating (1400-1200) i will cut off the 1200 problems since i solved the last 15 problems without getting stuck at all so do i foucse on something or just grind 1400 rating ? thanks.
Название |
---|