Search found 8 matches
- November 5th, 2018, 8:02 pm
- Forum: Everything
- Topic: Coding Challenge 5 - Meme Graveyard Keeper
- Replies: 26
- Views: 134508
Re: Coding Challenge 5 - Meme Graveyard Keeper
max value of an unsigned int should be 4,294,967,295 not 4,252,267,227. The InputCommand struct has 3 unsigned int values, equaling 12 bytes total struct size, which would be 48 GiB ( 51,539,607,552 bytes ). So unless you have 64 GiB of RAM, that's not going to happen. I don't understand how you ar...
- November 5th, 2018, 5:03 pm
- Forum: Everything
- Topic: Coding Challenge 5 - Meme Graveyard Keeper
- Replies: 26
- Views: 134508
Re: Coding Challenge 5 - Meme Graveyard Keeper
Can someone tell me if I'm missing something. with the field size of UINT32_Max in a vector of <unsigned long long>s it uses more than my computer has of ram and when trying was of getting round it, it takes too long. so how are you getting 200 ms with 4,252,267,227 field size. in a vector it should...
- November 4th, 2018, 8:48 pm
- Forum: Everything
- Topic: Coding Challenge 5 - Meme Graveyard Keeper
- Replies: 26
- Views: 134508
Re: Coding Challenge 5 - Meme Graveyard Keeper
yeah, I'm having the same problem as thesmallcreeper. I tried to create a file with max field size and commands and when initialising a vector with size as fieldsize(uint 32 max) it failed as it tried to allocate 31 gigs of data (the vector is <unsigned long long> btw)
- September 23rd, 2018, 3:05 pm
- Forum: Everything
- Topic: Coding Challenge 4!
- Replies: 93
- Views: 234706
Re: Coding Challenge 4!
there is also std::async in <future> (witch I find from minor testing launches and closes faster)Yumtard wrote:std::thread
- September 23rd, 2018, 7:47 am
- Forum: Everything
- Topic: Coding Challenge 4!
- Replies: 93
- Views: 234706
Re: Coding Challenge 4!
Well I updated my code and get PASS (0.67ms) File Test: Buck Futter's Sexy Test 1 PASS (0.08ms) File Test: Buck Futter's Sexy Test 2 PASS (0.35ms) File Test: Buck Futter's Sexy Test 3 PASS (0.38ms) File Test: Buck Futter's Sexy Test 4 PASS (0.08ms) File Test: Buck Futter's Sexy Test 5 PASS (0.08ms) ...
- September 22nd, 2018, 11:02 pm
- Forum: Everything
- Topic: Coding Challenge 4!
- Replies: 93
- Views: 234706
Re: Coding Challenge 4!
Well on my third attempt at coding it I get PASS (12.17ms) File Test: Buck Futter's Sexy Test 1 PASS (6.59ms) File Test: Buck Futter's Sexy Test 2 PASS (6.28ms) File Test: Buck Futter's Sexy Test 3 PASS (5.15ms) File Test: Buck Futter's Sexy Test 4 PASS (5.61ms) File Test: Buck Futter's Sexy Test 5 ...
- September 22nd, 2018, 9:14 pm
- Forum: Everything
- Topic: Coding Challenge 4!
- Replies: 93
- Views: 234706
Re: Coding Challenge 4!
I fixed all my code and it didn't compleat in 24 mins so I have started from scratch and also I have another test for the people who got like 100ms https://drive.google.com/open?id=1DESiYo06MJY5Czjq5vvhiYHI38ot7CPL this test will check if you were doing what I was doing wrong (I was brute forcing wi...
- September 22nd, 2018, 6:40 pm
- Forum: Everything
- Topic: Coding Challenge 4!
- Replies: 93
- Views: 234706
Re: Coding Challenge 4!
Submitted a very simple algorithm (maybe too simple, might've missed something in the instructions) looking forward to having my mind blown by your optimizations :) What kind of times were you getting on a result set of 80 million? I made a multi-threaded attempt and got like 1000ms on attempt (it'...