n in n^3 refers to the size of the data in this case. If you have an input of size 1, paste it into n ^ 3. (and then multiply it by the time.) If you have an input of size 1000 ... what should you do?
EDIT: I originally posted this in a Big-Oh note (e.g. O(n^3) ), which was erroneous as it ignores possible fixed costs that will make the question inconclusive as published. I feel that I should leave this answer, perhaps mainly as a reminder to others, so as not to make the same mistake as me. Thanks for the comment.
Blackvegetable
source share