DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
c++ check if vector is sorted
for(int i = 0; i < n.size()-1; i++) if(n[i] > n[i+1]) return false; return true;
PREVIOUS
NEXT
Tagged:
#check
#vector
#sorted
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit