Search:

Type: Posts; User: nardneran

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,476

    Hi, Thanks for the solution...But, I have...

    Hi,
    Thanks for the solution...But, I have a small doubt...
    But, according to this page, there is no mode as "x"...

    http://www.cplusplus.com/reference/clibrary/cstdio/fopen.html
  2. Replies
    8
    Views
    1,476

    k.. It is C++...

    k.. It is C++...
  3. Replies
    8
    Views
    1,476

    I know that and all.... My requirement is, I...

    I know that and all....
    My requirement is, I want to create a file ONLY if it doesnt exist...(I dont want to append the file and all)..
  4. Replies
    2
    Views
    1,289

    Solution in any language(C or C++) is fine for...

    Solution in any language(C or C++) is fine for me...
  5. Replies
    8
    Views
    1,476

    Sorry, for the double post....But, I posted in...

    Sorry, for the double post....But, I posted in both since, solutions in both the languages is fine for me...
  6. Replies
    2
    Views
    1,289

    Doubt in file operations...

    Hi,
    I want to open a file ( say "test.cpp"), only if it doesnt exist in the folder that has the Program.
    If it already exists, I want to quit....
    I dunno how to do this...

    Can...
  7. Replies
    8
    Views
    1,476

    Doubt in file operations....

    Hi,
    I want to open a file ( say "test.cpp"), only if it doesnt exist in the folder that has the Program.
    If it already exists, I want to quit....
    I dunno how to do this...

    Can...
  8. use the congruence ...

    use the congruence



    w=floor(k+floor(2.6m-0.2)-2C+y+floor(y/2)+floor(c/4))mod7
    and iterate over each month.
  9. Replies
    44
    Views
    7,535

    @anon the sample input is right...the soln...

    @anon

    the sample input is right...the soln is 2^(no of occurances of D+F+L+T)..so it is 4..
  10. Replies
    44
    Views
    7,535

    @maxorator now chk my soln.... And for all...

    @maxorator
    now chk my soln....

    And for all that is a site dedicated for programming...its worth it..it has got the best collection of problems...from easy ones to tough graph algos...
  11. Replies
    44
    Views
    7,535

    if any body wants to try it..try these two...

    if any body wants to try it..try these two problems....

    http://www.spoj.pl/problems/KAMIL/

    &

    http://www.spoj.pl/problems/SIZECON/
  12. Replies
    44
    Views
    7,535

    @anon.. the c file automatically takes the...

    @anon..

    the c file automatically takes the variables declared as integer type...

    @maxorator

    the code gets complied but gives a NZEC a non zero error code...and also the output is...
  13. Replies
    44
    Views
    7,535

    ITS just code length....So whats the answer for...

    ITS just code length....So whats the answer for my question...???why the 2nd soln requires "return 0;"
  14. Replies
    44
    Views
    7,535

    Cmon its not like that...its a contest...

    Cmon its not like that...its a contest question(http://spoj.pl challenge problem)...and they check the efficency of ur code length and obviously right answer too...thatsy...

    and btw nobody...
  15. Replies
    44
    Views
    7,535

    let me get it straight... This one is meant...

    let me get it straight...

    This one is meant for a prg which chk the source code length...

    i have 2 question...soln for 1st one was..


    ...
  16. Replies
    44
    Views
    7,535

    doubt in C--(reducing the length of code)

    In gcc, the 'int' in main function is optional and 'return 0' is also optional...that leaves a warning but gets complied and gives output.But in one of my prg it doesnt give out put but gives error i...
Results 1 to 16 of 16