Post number #952307, ID: 26d9b3
|
So I'm applying to work as an IT engineer in Japan, and did a programming test.
It was 90 min, I've choose C, and it was just an easy problem, receive a n list and output a list of the max value in the list except the current index.
But the test was running on the test's server, and among the 10 inputs, the one with n=100000 was taking to much time and was timing out.
Post number #952308, ID: 26d9b3
|
So, I rewrote everything with asynchronous threads, but on the problematic input it still segfault as max threads was limited to 31000. so I then rewrited with variable number of operations per thread.
Did I took an easy test too far ?
Total number of posts: 2,
last modified on:
Sun Jan 1 00:00:00 1681948986
| So I'm applying to work as an IT engineer in Japan, and did a programming test.
It was 90 min, I've choose C, and it was just an easy problem, receive a n list and output a list of the max value in the list except the current index.
But the test was running on the test's server, and among the 10 inputs, the one with n=100000 was taking to much time and was timing out.