ios_base::sync_with_stdio(false);cin.tie(NULL);

C++
    ios_base::sync_with_stdio(false);    cin.tie(NULL);
Source

Also in C++: