Search:

Type: Posts; User: bruteforce

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    1,121

    WTF?! I was just pointing out a fact. You have...

    WTF?!
    I was just pointing out a fact.
    You have a problem, buddy!
  2. Replies
    24
    Views
    1,121

    It should be noted that the book apparently...

    It should be noted that the book apparently neglects to tell people how to signal end-of-file from the keyboard. Although the key-combo is different on different systems, the book doesn't even say...
  3. I like your AI idea better. Or a brain in a vat,...

    I like your AI idea better.
    Or a brain in a vat, sans brain.
    Idiot savant, emphasis on idiot.
    Cat on a keyboard.
    Noise in a cable.
    Indigestion?

    Anyone who insists on interacting with him...
  4. Replies
    6
    Views
    629

    Stop feeding the troll. Just let it die.

    Stop feeding the troll.
    Just let it die.
  5. Replies
    5
    Views
    586

    He is so obviously a troll. How can you not see...

    He is so obviously a troll. How can you not see that? Why do you keep feeding him? Just let him die.
  6. Clearly it doesn't work for him since he shows no...

    Clearly it doesn't work for him since he shows no evidence of understanding or learning anything. You are just encouraging him to be lazy and not read a book like a normal human.
  7. "Genius"! Now I've heard everything. You people...

    "Genius"! Now I've heard everything. You people are crazy.
  8. The "bad quality of screenshots" is due to your...

    The "bad quality of screenshots" is due to your bad choice of jpg (a "lossy" format) over png (a "lossless" format). jpg is for natural scenes. png is for images with lots of pixels of exactly the...
  9. I can't believe people still respond to this...

    I can't believe people still respond to this entity. It's pointless.
  10. Replies
    6
    Views
    729

    It isn't a stylistic choice at all. It is...

    It isn't a stylistic choice at all. It is objectively better to return the value when possible. It allows the function to be used more flexibly. E.g.,


    switch (getChoice())
    {
    case 'd':
    ...
  11. Replies
    24
    Views
    1,121

    If I understand what you are trying to do,...

    If I understand what you are trying to do, wouldn't it be more like this:


    #include <stdio.h>
    #include <ctype.h>

    int main()
    {
    enum {OUT, IN};
  12. Replies
    7
    Views
    357

    Post a complete program that demonstrates the...

    Post a complete program that demonstrates the problem.
  13. Replies
    3
    Views
    366

    I don't know if anyone else agrees, but it would...

    I don't know if anyone else agrees, but it would be better to tell this guy that you won't answer any more strange disconnected questions. He should have to post a full program.

    I mean, you could...
  14. Replies
    7
    Views
    601

    How could you know which elements are less than...

    How could you know which elements are less than or greater than the already-sorted element unless you compare to it?
  15. Well duh. I don't understand your logic....

    Well duh.


    I don't understand your logic.
    Why is it 1000000 instead of 100000?
    Why are you only reading one number into it?
    Why is it a char array instead of an int array?
    If you were going...
  16. You have some major misunderstandings. You don't...

    You have some major misunderstandings. You don't need a megabyte character array to read a single integer from 1 to 100000. I'm also assuming that you don't need to read a filename from the command...
  17. Blah blah blah. What a bunch of bull!!! I see...

    Blah blah blah. What a bunch of bull!!!

    I see your account was closed on the other site.
    Was that the admin (I doubt it) or was it your own cowardice?

    You are a loser, literally.
  18. What do you mean "optimizaton needed"? A brute...

    What do you mean "optimizaton needed"? A brute force "solution" isn't a solution in competitive programming at all. A monkey could write that. The whole point is to come up with a clever solution....
  19. We know you're too lazy and/or stupid to properly...

    We know you're too lazy and/or stupid to properly format your code. No one is going to help you until you do.
  20. Replies
    1
    Views
    450

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <stdbool.h>

    #define MAX_ROWS 20
    #define MAX_COLS 20

    bool recuperation(int t[][MAX_COLS], const char *nomFichier, int *rows, int *cols) {
    ...
  21. It's usually Feynman who is considered a...

    It's usually Feynman who is considered a character. "Lord" Rutherford is the "father of nuclear physics".

    The joke here is "search Ernest Rutherford on every article over the Ethernet". Ever...
  22. Replies
    6
    Views
    711

    Excuse you? There is no excuse for you! You sound...

    Excuse you? There is no excuse for you! You sound like a total moron to me, and to most other people here by the looks of it. Try actually writing a program some day!!!
  23. Replies
    6
    Views
    711

    But that would require that he actually writes a...

    But that would require that he actually writes a program, something I've never see him do! He just asks strange, usually totally obvious, questions.
  24. Guess who has the best time for a C program for...

    Guess who has the best time for a C program for this problem? :cool:

    15598

    I thought I'd finish off the thread with the final code and some timing info from the hackerearth site. These times...
  25. Replies
    5
    Views
    589

    Besides your rather ancient style (leaving "int"...

    Besides your rather ancient style (leaving "int" off of main and not initializing variables when declaring them) I don't see anything wrong.

    How exactly are you running the programs?
Results 1 to 25 of 39
Page 1 of 2 1 2