Efficiency of an expression

Discussion in 'C Programming' started by Joseph, May 14, 2009.

  1. Joseph

    Joseph

    Joined:
    May 10, 2009
    Messages:
    1
    Likes Received:
    0
    Location:
    China
    Efficiency of the expression

    Hi, today I figured out a algorithm on the TopCoder's platform
    In my opinion, my algorithm is not bad,but my score was only 102(the full mark is 250)
    Then, I thought about the reason why the system gave me 102.
    ....... Maybe, it's the problem about the efficiency of the expressions in my program.In the program, I used several expressions including boolean calculation and arithmetical calculation the same time, so I wondered if these expressions performed low efficiency?

    My written English is not good, so...
    Thanks
     
    Last edited: May 14, 2009
    Joseph, May 14, 2009
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VSK
    Replies:
    2
    Views:
    2,686
  2. =?iso-8859-1?B?bW9vcJk=?=

    Matching abitrary expression in a regular expression

    =?iso-8859-1?B?bW9vcJk=?=, Dec 1, 2005, in forum: Java
    Replies:
    8
    Views:
    1,093
    Alan Moore
    Dec 2, 2005
  3. GIMME
    Replies:
    3
    Views:
    12,519
    vforvikash
    Dec 29, 2008
  4. snacktime
    Replies:
    13
    Views:
    746
    Dan Sommers
    Feb 22, 2005
  5. Jason luo
    Replies:
    3
    Views:
    781
    Peter Ammon
    Aug 19, 2004
  6. Philipp
    Replies:
    26
    Views:
    3,201
    Ramon F Herrera
    Nov 25, 2007
  7. castironpi@gmail.com
    Replies:
    1
    Views:
    505
    Gabriel Genellina
    Apr 22, 2008
  8. Adem
    Replies:
    42
    Views:
    3,389
    James Kuyper
    Nov 4, 2008
Loading...