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
segmented sieve
Using initializer_list<T>
Kalkulator z bajerami
Binary tree balanced or not
Cuantos
Cyclically rotate an array by one
Volume of Sphere with Powf
PointClassOpLoad
LRU - Main
test yield