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 -
Python 2022-03-27 09:45:35
header imitate python
import requests url = 'http://www.ichangtou.com/#company:data_000008.html' headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'} response = requests.get(url, ... Add solution -
Html 2022-03-26 09:35:34
html banner
<div class="vc_row element-row row vc_custom_1478727859541"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="wpb_wrapper"><div class="fw-section hb-fw-599b22a654ae9 without-border... Add solution -
TypeScript 2022-03-25 01:30:13
?? Operator in TypeScript
"Nullish Coalescing" If the left operand is null or undefined, the ?? expression evaluates to the right operand: null ?? "n/a" // "n/a" undefined ?? "n/a" // "n/a" Otherwise, the ?? expression evaluat... 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-22 13:25:16
arrow operator c++
/* the arrow operator is used for accessing members (fields or methods) of a class or struct it dereferences the type, and then performs an element selection (dot) operation */ #include <iostream> using std::cout; class Entity { public: con... Add solution -