xcx0902's blog

By xcx0902, history, 21 month(s) ago, In English

How fast is CF Judgers?

How long will it run a program (in C++) that its time complexity is $$$O(N)$$$ and $$$N = 10^8$$$? What about $$$N = 10^9$$$?

  • Vote: I like it
  • -12
  • Vote: I do not like it

| Write comment?
»
21 month(s) ago, # |
  Vote: I like it +1 Vote: I do not like it

Auto comment: topic has been updated by xcx0902 (previous revision, new revision, compare).

»
21 month(s) ago, # |
  Vote: I like it +18 Vote: I do not like it

It depends on a lot of factors, but, as a rule of thumb, 10 ^ 8 operations are done in 1 second.

  • »
    »
    21 month(s) ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    You are wrong. Now that number is 10^9, or at least 4 * 10^8

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

It isn't actually important what is the time complexity, but how many operations you perform.

»
21 month(s) ago, # |
  Vote: I like it -10 Vote: I do not like it

Before you ask about judger performance, learn some faster algorithms.

»
21 month(s) ago, # |
  Vote: I like it +20 Vote: I do not like it

https://codeforces.com/blog/entry/21344

Might help if you want to know "How to determine the (expected) complexity of expected solution of a problem by looking at its constraints?"