Results 1 to 5 of 5
  1. #1
    yanipra is offline Member
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    0

    Thumbs up how to execute the Java program to 0 sec?

    I have a problem with 0 execute in java, what of you know how to make Java more quickly in execute??

    this problem :
    Task :: Sum of Two Numbers

    From the standard input read two numbers M and N, 0<=M,N<=200. Output the sum of M and N to the standard output.

    Time: 0.1 sec.
    Memory: 1 MB

    anybody know how to solved this problem with 0 sec execute in java...

    i'm beginning in java. I hope you give me suggest about that...thank's for all..:)

  2. #2
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    448
    Rep Power
    6

    Default

    I guess it s a hypothetical question.
    Mak
    (Living @ Virtual World)

  3. #3
    yanipra is offline Member
    Join Date
    Mar 2011
    Posts
    2
    Rep Power
    0

    Default

    Quote Originally Posted by makpandian View Post
    I guess it s a hypothetical question.
    emm,, means that java can not execute more quickly,

    what do you fastest speed that can be produced if you have algorithms that correct?

  4. #4
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    448
    Rep Power
    6

    Default

    Let me know your algorithm in this problem,
    Mak
    (Living @ Virtual World)

  5. #5
    Tolls is online now Moderator
    Join Date
    Apr 2009
    Posts
    11,957
    Rep Power
    19

    Default

    That's not actually 0 seconds you know in their table of fastest code.
    That'll be rounded down to zero from whatever fraction of a second it really was.

Similar Threads

  1. Need Help to Execute the commands from Java Program
    By Anjaneyulu in forum Advanced Java
    Replies: 7
    Last Post: 02-24-2010, 02:35 PM
  2. Replies: 9
    Last Post: 11-19-2009, 04:31 PM
  3. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  4. Replies: 0
    Last Post: 10-04-2007, 09:33 PM
  5. Execute a new program in java
    By mathias in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 05:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •