Skip to content

Instantly share code, notes, and snippets.

View ArthurLoboLobo's full-sized avatar

Arthur Lobo ArthurLoboLobo

View GitHub Profile
#include<bits/stdc++.h>
using namespace std;
int n, m, has[200010];
vector<int> adj_out[200010];
int main() {
cin >> n >> m;
for(int i = 1; i <= m; i++) {