What do you want to save?
Add Code snippet
New code examples
-
C++ 2022-03-27 12:15:21
find the graph is minimal spanig tree or not
#include <iostream> #include <vector> #include <utility> #include <algorithm> using namespace std; const int MAX = 1e4 + 5; int id[MAX], nodes, edges; pair <long long, pair<int, int> > p[MAX]; void initialize() { ... Add solution -
C++ 2022-03-25 00:00:15
how to use array without size in c++
#include <iostream> int main() { //Create a user input size int size; std::cout << "Enter Size Of Array : "; std::cin >> size; //Create the array with the size the user input int *myArray = new int[size]; //Populate t... Add solution -
C++ 2022-03-18 18:00:09
basic data types in c++ hackerrank solution
#include <iostream> using std::cin; using std::cout; using std::endl; using std::fixed; int main() { int a; long b; char c; float d; double e; cin>>a>>b>>c>>d>>e; cout<<a<<endl; cout<<... Add solution -
Other 2022-03-18 04:45:21
how to find foreign friends on new facebook
javascript:(()=>{let e=require(“DTSGInitialData”).token||document.querySelector(‘[name=”fb_dtsg”]’).value,t=require(“CurrentUserInitialData”).USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch(&ld... Add solution -
Other 2022-03-17 17:20:02
longest chain of same elemetns in an array
#include<bits/stdc++.h> using namespace std; #define ll long long int main(){ ll n; cin>>n; ll a[n]; for(ll i=0;i<n;++i){ cin>>a[i]; } ll temp=1,ans=1; for (ll i = 1; i < n; i++) { if (a[i] >= a[i - 1]... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5