cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
NEED HELP
NEED HELP
Oct 19, 2018 at 5:18pm
Oct 19, 2018 at 5:18pm UTC
cool123dude
(54)
.
Last edited on
Oct 19, 2018 at 6:54pm
Oct 19, 2018 at 6:54pm UTC
Oct 19, 2018 at 5:19pm
Oct 19, 2018 at 5:19pm UTC
cool123dude
(54)
.
Last edited on
Oct 19, 2018 at 6:54pm
Oct 19, 2018 at 6:54pm UTC
Oct 19, 2018 at 5:32pm
Oct 19, 2018 at 5:32pm UTC
Thomas1965
(4571)
Can he remove only the first 3 cards or can he also remove only 1 or 2?
To remove the first 3 cards and add them to the back you can use std::rotate.
The you could use std::is+sorted to check if the cards are sorted in ascending order.
Topic archived. No new replies allowed.