Search found 57 matches

by AverageWhale
October 4th, 2018, 10:59 am
Forum: Everything
Topic: why have my solution failed?
Replies: 10
Views: 4279

why have my solution failed?

hello guys. I made my solution and it passed all tests including 80m number test but on the site its shows that my solution failed.
by AverageWhale
September 27th, 2018, 7:35 pm
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

Depending on your CPU, it might be. My first results for non-sse and single thread was around 80-90 ms on my CPU. My system: AMD Ryzen 5 2400G ( Shit, why didn't I think of using C++AMP, would have creamed everyone ) DDR4 2133 ( OC'd to 2600 <- only because the 3200 XMP profile isn't stable ) 250 G...
by AverageWhale
September 27th, 2018, 6:55 pm
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

Depending on your CPU, it might be. My first results for non-sse and single thread was around 80-90 ms on my CPU. My system: AMD Ryzen 5 2400G ( Shit, why didn't I think of using C++AMP, would have creamed everyone ) DDR4 2133 ( OC'd to 2600 <- only because the 3200 XMP profile isn't stable ) 250 G...
by AverageWhale
September 27th, 2018, 3:04 pm
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

Image

is this good single thread? i was doing n^2 but i made it n now using 1 thread.
by AverageWhale
September 27th, 2018, 9:32 am
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

albinopapa wrote:I can try it if you'd like. Are you just wanting to check the time on someone else's machine?
i will pm u my solution
by AverageWhale
September 27th, 2018, 9:31 am
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

i have a question about saving difference between 2 values in a tmp or just use subtracting everytime we need difference. so i have a question which one is the fastest //1 i think this is the fastest int difference = -1; if (input[j] > input[i]) { difference = input[j] - input[i]; if (difference > m...
by AverageWhale
September 27th, 2018, 8:59 am
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

can someone try my solution on their pc or it is not allowed to share my solution?
by AverageWhale
September 25th, 2018, 2:07 pm
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

guys when i try to open 80m version test data while running my code it does not even calls solution function it stops i dont know what to do? does reading take a long time like 5 minutes? and guys i have one more question. what is the optimal amount of threads to use for 80m numbers? for ex 1 threa...
by AverageWhale
September 25th, 2018, 1:43 pm
Forum: Everything
Topic: Coding Challenge 4!
Replies: 93
Views: 234870

Re: Coding Challenge 4!

guys when i try to open 80m version test data while running my code it does not even calls solution function it stops i dont know what to do? does reading take a long time like 5 minutes? and guys i have one more question. what is the optimal amount of threads to use for 80m numbers? for ex 1 thread...