Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
-Wall
int mystery(const int *x, int n, int y, int z) { int ans = 0; for (int i = 0; i < n-1; ++i) { if (x[i] == y) { if (x[i+1] == z) { ++ans } } } return ans; }
run
|
edit
|
history
|
help
0
Linked List
ayudantia 1 mod 4
String manipulation
B_141212_RolloPunteros
strrev
Jan23
exercises
Anutter juan
18BCE2182 ASSESS_2 Q-1
Volume of sphere