You are viewing a single comment's thread. Return to all comments →
cin >> d; should be after cin >> n;
Left Rotation
You are viewing a single comment's thread. Return to all comments →
cin >> d; should be after cin >> n;