Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Value equal to index value
vector<int> valueEqualToIndex(int arr[], int n) { // code here vector<int>v; for(int i=0;i<n;i++) { if(arr[i]==i+1) { v.push_back(arr[i]); } } return v; }
run
|
edit
|
history
|
help
0
cast operator
Function to m_function
PriQHotel2
precision and fixed point notation
dsu on tree(264E BLOOD COUSIN RETURNS)
Simulare 2022
Facebook - Split into monotonic sequences
Speed
frndclass
MyStack