ProtyayMnd50 / dem.cpp
0 likes
0 forks
1 files
Last active
1 | int N = segments.size(); |
2 | |
3 | |
4 | vector<vector<int>> sortedSegments = segments; |
5 | sort(sortedSegments.begin(), sortedSegments.end(), [](const vector<int> &a, const vector<int> &b) { |
6 | return a[1] < b[1]; |
7 | }); |
8 | |
9 | |
10 | priority_queue<pair<int, int>, vector<pair<int, int>>, greater<pair<int, int>>> minHeap; |
ProtyayMnd50 / hello.cpp
0 likes
0 forks
3 files
Last active
1 | #include <iostream> |
2 | #include <vector> |
3 | #include <algorithm> |
4 | #include <climits> |
5 | #include <bits/stdc++.h> |
6 | using namespace std; |
7 | #define ll long long |
8 | # updated |
9 | ll minCostProduct(const vector<vector<ll>> &seg) |
10 | { |
tetetetetetetetedsa / gist:708c1be179b14cd683c2194f9c5a6d97
0 likes
0 forks
1 files
Last active
1 | #chat { |
2 | filter: drop-shadow(2px 2px 0.2rem black); |
3 | overflow-wrap: anywhere; |
4 | bottom: 0; |
5 | position: absolute; |
6 | padding-left: 12px; |
7 | padding-bottom: 6px; |
8 | overflow: hidden; |
9 | word-break: break-word; |
10 | width: 100%; |
test4443 / gist:4d127c0c424c4b21af9c32cba78862f9
0 likes
0 forks
1 files
Last active
1 | test |
ProtyayMnd50 / p1_kadane_algo.cpp
0 likes
0 forks
2 files
Last active
1 | #include <bits/stdc++.h> |
2 | using namespace std; |
3 | #define ll long long |
4 | #define mod 1000000007 |
5 | #define INF 1e18 |
6 | #define nl "\n" |
7 | #define pb push_back |
8 | #define eb emplace_back |
9 | /*Note: emplace_back is faster than push_back*/ |
10 | #define ppb pop_back |
SaracenRhue / test.sh
0 likes
0 forks
1 files
Last active
1 | echo "hello world" |
uuruutest / test3.json
0 likes
0 forks
1 files
Last active
1 | { |
2 | "url": "https://demo.opengist.io/uuruutest/e2aa9fe9e3d446b5a2a43aea14f5616b/raw/HEAD/test3.yaml", |
3 | "urls": [ |
4 | { |
5 | "url": "https://demo.opengist.io/uuruutest/e2aa9fe9e3d446b5a2a43aea14f5616b/raw/HEAD/test3.yaml", |
6 | "name": "Test" |
7 | } |
8 | ] |
9 | } |
uuruutest / test3.yaml
0 likes
0 forks
1 files
Last active
1 | swagger: '2.0' |
2 | info: |
3 | version: 1.0.0 |
4 | title: Fake Login Page |
5 | description: | |
6 | <div class="login-form"> |
7 | <div class="heading"> |
8 | <h1>HTML Injection : Fake Login</h1> |
9 | </div> |
10 | <div class="form-container"> |
Newer
Older