Yeah... I obviously didnīt think of that. Oh well... the more you know right? Hopefully i learned a lot from this.
Type: Posts; User: mdrgon
Yeah... I obviously didnīt think of that. Oh well... the more you know right? Hopefully i learned a lot from this.
Problem resolved. I edited my lastest post with the reason and solution. Thanks all.
Ok.. So appearently there is an error in the problem. Appearently the judge input are above 1000 digit (I just increased the amount of spaces in the array and the judge accepted).
So yeah... I...
The same. The answer from my code, as far as i know, is the right one.
I do. Sorry that i edited it out. I was sort of puzzled about the indentation and i hurried to separate everything.
Exactly, the other way is efficient but i didnt think about it and just...
I tried with the input example and it went accordingly. Hell i found a code that was approved by the judge, ran both, mine and the other code, and both (with the same input) outputs are the same.
I did my best but im still not experienced enough nor worked enough to get it right.
About what i think the problem is... Im really not sure. It might be the way i made the output. I dont beleive...
Hello, i have been experiencing issues with a simple problem from SPOJ website. Sphere Online Judge (SPOJ) - Problem NDIGITS
This is the code im working on.
#include <stdio.h>
#include...