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
Template
cp.cpp
Bind Function
lab17feb22x4B.cpp
scemo le
Stok sinifi
template inhertinace
ADAKOHL - hpclearn
CPPTemplate
DSU on tree (http://codeforces.com/contest/600/problem/E)