I had those issues with VS 2015, but I am not experiencing them on VS 2017.paulboon wrote:i'm getting tons of error messages when opening the project
stuff like
cannot open source file "conio.h"
and
namespace "std" has no member "filesystem"
do i have some setting wrong in visual studio or am i using the wrong version of visual studio(using 2017)?
Coding Challenge 4!
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Coding Challenge 4!
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.
Re: Coding Challenge 4!
^ update to latest version of visual studio
@NightFighter
I got about 49ms on your latest test.
I'm assuming chilly will be talking nano seconds when it comes to his solution. Might look into ways to optimize this during the week if I get the time. Optimization sorcery is not my strong suit tho
@NightFighter
I got about 49ms on your latest test.
I'm assuming chilly will be talking nano seconds when it comes to his solution. Might look into ways to optimize this during the week if I get the time. Optimization sorcery is not my strong suit tho
Re: Coding Challenge 4!
it seems to have to do something with the external dependencies folder(filter) not getting properly included
how do i fix that?
how do i fix that?
Re: Coding Challenge 4!
trying to update right now seeing if that helps
Re: Coding Challenge 4!
updating fixed it, thank you yumtard
-
- Posts: 8
- Joined: September 22nd, 2018, 6:32 pm
- Location: United Kingdom
Re: Coding Challenge 4!
Well on my third attempt at coding it I get
it's not bad, but nowhere near what you are getting
I think I'll throw in the towel now.
[Edit]
does chili's cpu run things faster with 4 threads or 8 threads; because it is a quad core cpu but it has 8 logical processors
Code: Select all
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
PASS (5.96ms) File Test: Buck Futter's Sexy Test 6
PASS (359.39ms) File Test: NF Test
PASS (280.43ms) File Test: NF Test 2
I think I'll throw in the towel now.
[Edit]
does chili's cpu run things faster with 4 threads or 8 threads; because it is a quad core cpu but it has 8 logical processors
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Coding Challenge 4!
Uh oh got a speed boost!
Just need a little more to beat Yumtard.
Just need a little more to beat Yumtard.
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.
-
- Posts: 432
- Joined: September 26th, 2013, 4:57 pm
- Location: Kentucky
- Contact:
Re: Coding Challenge 4!
From my testing, I had the best results from utilizing 8 threads for the i7 4770k.NightFighter wrote:Well on my third attempt at coding it I getit's not bad, but nowhere near what you are gettingCode: Select all
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 PASS (5.96ms) File Test: Buck Futter's Sexy Test 6 PASS (359.39ms) File Test: NF Test PASS (280.43ms) File Test: NF Test 2
I think I'll throw in the towel now.
[Edit]
does chili's cpu run things faster with 4 threads or 8 threads; because it is a quad core cpu but it has 8 logical processors
Looks like i''m done for now. These are my final results.
PM me if you need to contact me. Thanks to all the helpful people on this forum especially to Chili.
Re: Coding Challenge 4!
@yum
Yeah, the base fast algo is very simple indeed, so it's highly possible that you missed nothing and just submitted the expected solution.
And I don't think you'll be disappointed by the optimizations
Yeah, the base fast algo is very simple indeed, so it's highly possible that you missed nothing and just submitted the expected solution.
And I don't think you'll be disappointed by the optimizations
Chili
Re: Coding Challenge 4!
For heavy tests, instead of generating and loading giant files my recommendation is inherit from TestCase and make a test case that fills a vector in memory without need to access any file. Faster and easier than writing separate code to generate the data set file in the first place
Chili