Ad
  • Default User Avatar

    yes, I tried to print all the variables every loop, it is OK, on my computer, it take 39 seconds running under debug mode (with print out all the variables) on the second testing case, and 8 seconds to finish running under normal mode. I still can't pass it.
    the following information are the data to run the second testing case
    count = 1228841 (the total looping count)
    {'c': 409600, 'b': 409600, 'a': 409600}
    The total time to execute the program is 8.36125922203064
    any suggest?

  • Default User Avatar

    hi: my code is working but it can't pass because time out from the execution, I don't think there is any argorithm that I need to consider about, right? it is very straighforward like s programming. Dose any one have any suggestion?