code blocks says
main.c|25|error: expected expression before 'optional_size_t'|
Search found 81 matches
- April 12th, 2019, 1:59 am
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
- April 11th, 2019, 3:33 am
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
Re: Coding Challenge
[*]oh no, yeah I wrote it wrong. it's chars / 5. so for my code, which is in c. (btw I'm really kidding myself here, I have no idea what I'm doing, I'm in high school, I'm so non-committal I need to get my act together. You're a million leagues above me.) #include <stdio.h> #include <stdlib.h> int r...
- April 9th, 2019, 10:57 pm
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
Re: Coding Challenge
hello?
- April 8th, 2019, 11:15 pm
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
Re: Coding Challenge
It should be relatively simple and satisfying. Mine was only 64 lines.
- April 7th, 2019, 10:23 pm
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
Re: Coding Challenge
your program should do exactly what this one does. As far as what it prints based on input. I'll make some exceptions, but use int for user input. The starting list is arbitrary, don't make the program (uhhh... easily changeable what's that word?). as short as possible is the goal. It should do exac...
- April 7th, 2019, 4:10 am
- Forum: Everything
- Topic: Coding Challenge
- Replies: 10
- Views: 4519
Coding Challenge
Take a brain break from whatever you're doing and relax. Just a little thing. make a program that does exactly what the program I've uploaded does. This is a competition. Score is number of characters over five, plus the sizeof() all variables initialized, plus function defs times 3 minus function c...
- April 7th, 2019, 3:29 am
- Forum: Everything
- Topic: Noob learns to code in 3 months
- Replies: 670
- Views: 208352
Re: Noob learns to code in 3 months
this thing is still active? amazing.
- June 16th, 2018, 12:34 am
- Forum: Everything
- Topic: I think this is complicated problem?
- Replies: 12
- Views: 4739
Re: I think this is complicated problem?
Time is in seconds Mine: Primes Time Max/Min Trials Data 1 0.073 - 0.050 5 10,000 5.095 - 5.761 5 50,000 147.018 1 6.5 MB Yumtard's: Primes Time Max/Min Trials Data 1 0.031 - 0.019 5 10,000 5.001 - 6.800 5 50,000 8.170 - 13.7 1 5.8 MB I basically didn't want to use modulus or division.
- June 15th, 2018, 11:32 pm
- Forum: Everything
- Topic: I think this is complicated problem?
- Replies: 12
- Views: 4739
Re: I think this is complicated problem?
Oh and chili . . . What's MT?
- June 15th, 2018, 10:05 pm
- Forum: Everything
- Topic: I think this is complicated problem?
- Replies: 12
- Views: 4739
Re: I think this is complicated problem?
Yeah, but that's the normal way. Mine is faster for x or less primes though. I think, I don't know how modulus works.Yumtard wrote:How about this?
I'm going to try my method on my fast desktop later.