Hasan's blog

By Hasan, history, 6 months ago, In English,

I was wondering how many procedures does the IOI Server processes in a second, compared to Codeforces Server and is there any reference for that?

Thanks in advance

 
 
 
 
  • Vote: I like it  
  • +11
  • Vote: I do not like it  

»
6 months ago, # |
  Vote: I like it +22 Vote: I do not like it

There is nothing like "the IOI Server", testing machines are provided by each year's organiser (imagine having to ship a huge number of computers somewhere each year, replace them when they're outdated etc.), so the answer is: different number each year.

IOI tasks are set so that shouldn't matter, though.

  • »
    »
    6 months ago, # ^ |
      Vote: I like it +4 Vote: I do not like it

    So if I wanted to compute the complexity of my solution, How many procedures should I consider for a second?

    • »
      »
      »
      6 months ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I would say 10^8.

    • »
      »
      »
      6 months ago, # ^ |
        Vote: I like it +7 Vote: I do not like it

      Let's say the same number as on CF.

      • »
        »
        »
        »
        6 months ago, # ^ |
          Vote: I like it +4 Vote: I do not like it

        I wrote a code with complexity 1e9 and it passed on codeforces (custom test) in 800-1000 ms, I guess that's a bit fast.

        • »
          »
          »
          »
          »
          6 months ago, # ^ |
            Vote: I like it +4 Vote: I do not like it

          I guess it had a very good constant. Try 1e9 hashset insert/delete/lookup operations, each of them has complexity O(1).