Please turn JavaScript on

Latest ClueOJ Comments

Following Latest ClueOJ Comments's news feed is very easy. Subscribe using the "follow" button on the top right and if you want to, choose the updates by topic or tag.

We will deliver them to your inbox, your phone, or you can use follow.it like your own online RSS reader. You can unsubscribe whenever you want with one click.

Keep up to date with Latest ClueOJ Comments!

Latest ClueOJ Comments: Trang chủ - ClueOJ: Clue Online Judge

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  1.37 / day

Message History

#include <bits/stdc++.h> using namespace std; int n, m, ans; pair&lt;int, int> a[200005]; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); cin >> n >> m; for (int i = 1; i <= n; ++i) cin >> a[i].first; for (int i = 1; i <= n; ++i) cin >> a[i].second; sort(a + 1, a + n + 1, [](const pair&lt;...

Read full story
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; using ld = long double; using ii = pair<int,int>; using ll2 = pair<ll,ll>; using vi = vector<int>; using vl = vector<ll>; using vii = vector<ii>; using vb = vector<bool>; #define MOD 1000000007LL #define rep(i, n) for (int i = 0; i < (...

Read full story
#include <bits/stdc++.h> using namespace std; using ll = long long; using ull = unsigned long long; using ld = long double; using ii = pair<int,int>; using ll2 = pair<ll,ll>; using vi = vector<int>; using vl = vector<ll>; using vii = vector<ii>; using vb = vector<bool>; #define MOD 1000000007LL #define rep(i, n) for (int i = 0; i < (...

Read full story
#include <bits/stdc++.h> using namespace std; #define ll long long #define ull unsigned long long #define ld long double #define pb push_back #define pf push_front #define fi first #define se second #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define faster() ios::sync_with_stdio(false); cin.tie(nullptr); #define endl '\n' #define ye...

Read full story