ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); code example Example: ios base sync with stdio ios_base::sync_with_stdio(false); cin.tie(NULL);