Title |
User |
Message |
Date Posted |
this works on my compiler but im getting re |
whcpeterwang |
|
Mar 09, 2018 - 4:07:51 am UTC |
i cri |
asdflkjh |
so hard |
Mar 20, 2017 - 11:02:11 pm UTC |
Re: Grader giving odd results |
spencereir |
Lots of my friends just write their code in Dev-C++ instead of compiling it through the command line, I'd hazard to guess that this was the case, and the compiler warning box is rather small and clutt... |
Apr 04, 2016 - 4:37:37 pm UTC |
Re: Grader giving odd results |
jargon |
Huh. Have you tried compiling with -Wall -Wextra? I'd be surprised if nothing came up... |
Apr 04, 2016 - 3:27:11 pm UTC |
Re: Grader giving odd results |
Frost |
My compiler didn't warn me at all, but I found the problem. Thank you for the advice! |
Apr 03, 2016 - 1:40:47 am UTC |
Re: Grader giving odd results |
jargon |
Here's a hint: check your compiler warnings. Your code gets AC with the addition of one statement. |
Mar 27, 2016 - 12:57:54 am UTC |
Re: Grader giving odd results |
spencereir |
When this happens it usually means your program is doing something it shouldn't be. The most common causes are accessing arrays out of bounds, which a Windows machine will brush under the carpet, but ... |
Mar 26, 2016 - 3:59:13 pm UTC |
Grader giving odd results |
Frost |
My results for the grader are nonsensical, based on my code. I'm getting an output as high as 137998 on the grader, but my program works for the test cases given. Even when I set L to 1 and U to 1000 ... |
Mar 25, 2016 - 4:10:48 pm UTC |
Re: My outputs are differing by 5 to 6. |
shreerockz15 |
Thanks wgma00 |
Jan 29, 2016 - 10:08:33 am UTC |
Re: My outputs are differing by 5 to 6. |
wgma00 |
You seem to have misinterpreted what an awesome number is. An awesome number is a number that cannot be divided by something like 2*2, 3*3, 4*4, etc (you're overcomplicating it). Also remember to rese... |
Jan 29, 2016 - 3:24:47 am UTC |