xINFERNOx's blog

By xINFERNOx, history, 3 years ago, In English

Why the second code executes within 500ms whereas the first one gives TLE(2000ms) ?

1497E1 - Square-Free Division (easy version)

const int N = 1e7 + 5;
vector<int> maping(N);
int i,j;
Code 1
Code 2

Full text and comments »

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