criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include <cstdio>

using namespace std;
using namespace atcoder;


int main(){
  int n, m;
  scanf("%d %d", &n, &m);
  vector<long long> a(n), b(m);
  for (int i = 0; i < n; i ++) {
    scanf("%lld", &(a[i]));
  }
  for (int i = 0; i < m; i ++) {
    scanf("%lld", &(b[i]));
  }
  
  vector<long long> c = convolution(a, b);
  for (int i = 0; i < n + m - 1; i ++{
    printf("%lld", c[i]);
  }
  printf("\");

  return 0;
  
}  

Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<atcoder/all>
#include<iostream>
using namespace std;
using namespace atcoder;

int main() {
  int N, M; cin >> N >> M;
  vector<int> A(N), B(M);
  for (int i = 0; i < N; i++) cin >> A[i];
  for (int j = 0; j < M; j++) cin >> B[i];
  vector<int> C = convolution(A, B);
  for (int c : C) cout << c << endl;
}

Compiler output:
a.cc:1:9: fatal error: atcoder/all: No such file or directory
    1 | #include<atcoder/all>
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<atcoder/all>
#include<iostream>
using namespace std;
using namespace atcoder;

int main() {
  int N, M; cin >> N >> M;
  vector<int> A(N), B(M);
  for (int i = 0; i < N; i++) cin >> A[i];
  for (int j = 0; j < M; j++) cin >> B[j];
  vector<int> C = convolution(A, B);
  for (int c : C) cout << c << endl;
}

Compiler output:
a.cc:1:9: fatal error: atcoder/all: No such file or directory
    1 | #include<atcoder/all>
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
#include<vector>
#include<atcoder/convolution>
using atcoder::convolution;

int main(){
  using namespace std;
  using i64 = int64_t;

  int n,m;
  cin>>n>>m;
  vector<i64> a(n),b(m);
  for(auto& ai:a)cin>>ai;
  for(auto& bi:b)cin>>bi;

  auto c = convolution(a,b);
  for(auto itr=begin(c);itr!=end(c);++itr){
    cout<<(*itr)<<"\n "[itr+1!=end(c)];
  }
  
}

Compiler output:
a.cc:3:9: fatal error: atcoder/convolution: No such file or directory
    3 | #include<atcoder/convolution>
      |         ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include<bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
int main() {
    int n, m;
    cin>>n>>m;
    vector<mint> a(n), b(m);
    for (int i = 0; i < n; i++) {
        cin>>a[i];
    }
    for (int i = 0; i < m; i++) {
        cin>>b[i];
    }
    auto c = convolution(a, b);
    for (int i = 0; i < n + m - 1; i++) {
        cout<<c[i]<<" ";
    }
}


Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include <cstdio>
#include<bits/stdc++.h>
using namespace std;
using namespace atcoder;
using mint = modint998244353;
int main() {
    int n, m;
    scanf("%d %d", &n, &m);
    vector<mint> a(n), b(m);
    for (int i = 0; i < n; i++) {
        cin>>a[i];
    }
    for (int i = 0; i < m; i++) {
        cin>>b[i];
    }
    auto c = convolution(a, b);
    for (int i = 0; i < n + m - 1; i++) {
        cout<<c[i]<<" ";
    }

    return 0;
}

Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include <cstdio>

using namespace std;
using namespace atcoder;

using mint = modint998244353;

int main() {
    int n, m;
    scanf("%d %d", &n, &m);
    vector<mint> a(n), b(m);
    for (int i = 0; i < n; i++) {
        int x;
        scanf("%d", &x);
        a[i] = x;
    }
    for (int i = 0; i < m; i++) {
        int x;
        scanf("%d", &x);
        b[i] = x;
    }

    auto c = convolution(a, b);

    for (int i = 0; i < n + m - 1; i++) {
        printf("%d ", c[i].val());
    }
    printf("\n");

    return 0;
}

Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <atcoder/all>
#define ll long long
#define rep(i,n) for(ll i=0;i<(n);i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define endl '\n'
#define ios ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
#define lb(c,x) distance(c.begin(),lower_bound(all(c),x))
#define ub(c,x) distance(c.begin(),upper_bound(all(c),x))

using namespace std;

using namespace atcoder;

using mint = modint998244353;

const ll INF=1e15;

int main(){
    ios;
    int n,m;
    cin >> n >> m;
    vector<mint> a(n),b(m);
    rep(i,n){
        ll x;
        cin >> x;
        a[i]=x;
    }
    rep(i,m){
        ll x;
        cin >> x;
        b[i]=x;
    }
    vector<mint> c=convolution(a,b);
    rep(i,n+m) cout << c[i].val << endl;
    return 0;
}

Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <atcoder/all>
#define ll long long
#define rep(i,n) for(ll i=0;i<(n);i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define endl '\n'
#define ios ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
#define lb(c,x) distance(c.begin(),lower_bound(all(c),x))
#define ub(c,x) distance(c.begin(),upper_bound(all(c),x))

using namespace std;

using namespace atcoder;

using mint = modint998244353;

const ll INF=1e15;

int main(){
    ios;
    int n,m;
    cin >> n >> m;
    vector<mint> a(n),b(m);
    rep(i,n){
        ll x;
        cin >> x;
        a[i]=x;
    }
    rep(i,m){
        ll x;
        cin >> x;
        b[i]=x;
    }
    vector<mint> c=convolution(a,b);
    rep(i,n+m) cout << c[i] << endl;
    return 0;
}

Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <atcoder/all>
#define ll long long
#define rep(i,n) for(ll i=0;i<(n);i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define endl '\n'
#define ios ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
#define lb(c,x) distance(c.begin(),lower_bound(all(c),x))
#define ub(c,x) distance(c.begin(),upper_bound(all(c),x))

using namespace std;

using namespace atcoder;

using mint = modint998244353;

const ll INF=1e15;

int main(){
    int n,m;
    cin >> n >> m;
    vector<mint> a(n),b(m);
    rep(i,n) cin >> a[i];
    rep(i,m) cin >> b[i];
    vector<mint> c=convolution(a,b);
    rep(i,n+m) cout << c[i] << endl;
    return 0;
}

Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#include <atcoder/all>
#define ll long long
#define rep(i,n) for(ll i=0;i<(n);i++)
#define pll pair<ll,ll>
#define pii pair<int,int>
#define pq priority_queue
#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define endl '\n'
#define ios ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0);
#define lb(c,x) distance(c.begin(),lower_bound(all(c),x))
#define ub(c,x) distance(c.begin(),upper_bound(all(c),x))

using namespace std;

using namespace atcoder;

const ll INF=1e15;

int main(){
    int n,m;
    cin >> n >> m;
    vector<mint> a(n),b(m);
    rep(i,n) cin >> a[i];
    rep(i,m) cin >> b[i];
    vector<int> c=convolution(a,b);
    rep(i,n+m) cout << c[i] << endl;
    return 0;
}

Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;

template <long long mod, long long primitive_root>
struct NTT {
private:
    static long long mod_pow(long long n, long long p, long long m) {
        long long ret = 1;
        while (p > 0) {
            if (p & 1) ret = ret * n % m;
            n = n * n % m;
            p >>= 1;
        }
        return ret;
    }

    static pair<long long, long long> extgcd(long long a, long long b) {
        long long s = a, sx = 1, sy = 0, t = b, tx = 0, ty = 1;
        while (t) {
            long long q = s / t;
            s -= t * q;
            swap(s, t);
            sx -= tx * q;
            swap(sx, tx);
            sy -= ty * q;
            swap(sy, ty);
        }
        return {sx, sy};
    }

    static long long mod_inv(long long a, long long m) {
        long long inv = extgcd(a, m).first;
        return (inv % m + m) % m;
    }

    static void ntt(vector<long long>& f, int sign) {
        int n = f.size();
        if (n == 1) return;
        vector<long long> a(n / 2), b(n / 2);
        for (int i = 0; i < n / 2; i++) {
            a[i] = f[2 * i];
            b[i] = f[2 * i + 1];
        }
        ntt(a, sign);
        ntt(b, sign);
        long long cur = 1;
        long long omega = mod_pow(primitive_root, (mod - 1) / n, mod);
        if (sign == -1) omega = mod_inv(omega, mod);
        for (int i = 0; i < n; i++) {
            f[i] = (a[i % (n / 2)] + cur * b[i % (n / 2)]) % mod;
            cur = cur * omega % mod;
        }
        if (sign == -1) {
            long long n_inv = mod_inv(n, mod);
            for (int i = 0; i < n; i++) na[i] = na[i] * n_inv % mod;
        }
    }

public:
    static vector<long long> convolution(const vector<long long>& a, const vector<long long>& b) {
        int size = a.size() + b.size() - 1;
        int n = 1;
        while (n < size) n <<= 1;
        vector<long long> na = a, nb = b;
        na.resize(n);
        nb.resize(n);
        ntt(na, 1);
        ntt(nb, 1);
        for (int i = 0; i < n; i++) na[i] = na[i] * nb[i] % mod;
        ntt(na, -1);
        na.resize(size);
        return na;
    }
};

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);

    int N, M;
    cin >> N >> M;
    vector<ll> a(N), b(M);
    for (int i = 0; i < N; i++) cin >> a[i];
    for (int i = 0; i < M; i++) cin >> b[i];
    vector<ll> c = NTT<998244353, 3>::convolution(a, b);
    for (int i = 0; i < N + M - 1; i++) cout << c[i] << (i < N + M - 2 ? " " : "\n");
}

Compiler output:
a.cc: In static member function 'static void NTT<mod, primitive_root>::ntt(std::vector<long long int>&, int)':
a.cc:56:41: error: 'na' was not declared in this scope; did you mean 'nan'?
   56 |             for (int i = 0; i < n; i++) na[i] = na[i] * n_inv % mod;
      |                                         ^~
      |                                         nan
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include <iostream>
#include <vector>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
using mint = atcoder::modint998244353;

int main(void) {
  ios::sync_with_stdio(false);
  int N, M;
  cin >> N >> M;
  vector<mint> A(N);
  rep(i, N) {
    int a;
    cin >> a;
    A[i] = a;
  }
  vector<mint> B(M);
  rep(i, M) {
    int b;
    cin >> b;
    B[i] = b;
  }

  vector<mint> C = atcoder::convolution(A, B);
  rep(i, N + M - 1) {
    if (i != 0) cout << " ";
    cout << C[i].val();
  }
  cout << endl;
  return 0;
}


Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/all>
#include <bits/stdc++.h>
using namespace std;
using namespace atcoder;

#define rep(i, n) for(int i = 0; i < (n); ++i)
#define repr(i, n) for(int i = (n-1); i >= 0; --i)

template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }

typedef long long ll;
typedef pair<int, int> P;

const int MAX = 200005;
const int INF = 1001001001;
const ll LINF = (ll)INF * INF;
const int MOD = 1000000007;

vector<int> G[MAX];
int A[MAX];
int ans[MAX];

void dfs(int v, int p, vector<ll> &dp) {
    auto itr = lower_bound(dp.begin(), dp.end(), A[v]);
    ll pre = *itr;
    *itr = A[v];
    int res = lower_bound(dp.begin(), dp.end(), LINF) - dp.begin() - 1;
    ans[v] = res;
    for (int u : G[v]) {
        if (u == p) continue;
        dfs(u, v, dp);
    }
    *itr = pre;
}

int main(){
    int N;
    cin >> N;

    rep(i, N) cin >> A[i];

    rep(i, N-1) {
        int u, v;
        cin >> u >> v;
        u--, v--;
        G[u].emplace_back(v);
        G[v].emplace_back(u);
    }

    vector<ll> dp(N+1, LINF);
    dp[0] = 0;
    dfs(0, -1, dp);

    rep(i, N) cout << ans[i] << endl;
}

Compiler output:
a.cc:1:10: fatal error: atcoder/all: No such file or directory
    1 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

// -----------------------------------
// author   : MatsuTaku
// country  : Japan
// created  : 09/08/20 03:55:25
// -----------------------------------

#include <bits/stdc++.h>
#include <atcoder/all>

using namespace std;
using ll = long long;

int main() {
  cin.tie(nullptr); ios::sync_with_stdio(false);

  int n,m; cin>>n>>m;
  vector<atcoder::modint998244353> A(n),B(m);
  for (int i = 0; i < n; i++) {
    int a; cin>>a;
    A[i] = a;
  }
  for (int i = 0; i < m; i++) {
    int b; cin >> b;
    B[i] = b;
  }
  auto C = atcoder::convolution(A, B);
  for (int i = 0; i < n+m-1; i++)
    cout << C[i].val() << " ";
  cout << endl;

  return 0;
}


Compiler output:
a.cc:8:10: fatal error: atcoder/all: No such file or directory
    8 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//#define _GLIBCXX_DEBUG
#include "bits/stdc++.h"
#include <atcoder/convolution>
#include <atcoder/modint>
using namespace std;
using namespace atcoder;
using ll = long long;
#define pp pair<int,int>
#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define ld long double
#define al(a) (a).begin(),(a).end()
#define mk make_pair
#define check cout<<"?"<<endl;

ll MOD=1000000007;
ll mod=998244353;
int inf=1000001000;
ll INF=1e18+5;



int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    ll n,m; cin>>n>>m;
    vector<ll> a(n,0),b(m,0);
    rep(i,n) cin>>a[i];
    rep(i,m) cin>>b[i];
    auto c=convolution_ll(a,b);
    for(auto p:c) printf("%lld ",p%mod);
    printf("\n");
}


Compiler output:
a.cc:3:10: fatal error: atcoder/convolution: No such file or directory
    3 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/all>
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define rrep(i, n) for (int i = (int)n-1; i >= 0; --i)
using namespace std;
using namespace atcoder;
using ll = long long;
template<typename T>
inline bool chmax(T& a, const T& b) {
    if (a < b){
        a = b;
        return true;
    }
    return false;
}
template<typename T>
inline bool chmin(T& a, const T& b) {
    if (b < a) {
        a = b;
        return true;
    }
    return false;
}
/**
 * @brief 多次元 vector の作成
 * @author えびちゃん
 */
namespace detail {
    template<typename T, int N>
    auto make_vec(vector<int>& sizes, T const& x) {
        if constexpr (N == 1) {
            return vector(sizes[0], x);
        } else {
            int size = sizes[N-1];
            sizes.pop_back();
            return vector(size, make_vec<T, N-1>(sizes, x));
        }
    }
}
template<typename T, int N>
auto make_vec(int const(&sizes)[N], T const& x = T()) {
    vector<int> s(N);
    for (int i = 0; i < N; ++i) s[i] = sizes[N-i-1];
    return detail::make_vec<T, N>(s, x);
}
__attribute__((constructor))
void fast_io() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
}

int main() {
    int n, m;
    cin >> n >> m;
    vector<int> a(n), b(m);
    rep(i, n) cin >> a[i];
    rep(i, m) cin >> b[i];
    vector<int> c = convolution(a, b);
    rep(i, n+m-1) cout << c[i] << (i == n+m-2 ? '\n' : ' ');
}


Compiler output:
a.cc:2:10: fatal error: atcoder/all: No such file or directory
    2 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <queue>
#include <bitset>
#include <stack>
#include <functional>

// AtCoder
#include <atcoder/all>
using namespace atcoder;

#ifdef LOCAL
    #define eprintf(...) fprintf(stderr, __VA_ARGS__)
#else
    #define eprintf(...)
#endif

#define rep_(i, a_, b_, a, b, ...) for (int i = (a), i##_len = (b); i < i##_len; ++i)
#define rep(i, ...) rep_(i, __VA_ARGS__, __VA_ARGS__, 0, __VA_ARGS__)
#define reprev_(i, a_, b_, a, b, ...) for (int i = (b-1), i##_min = (a); i >= i##_min; --i)
#define reprev(i, ...) reprev_(i, __VA_ARGS__, __VA_ARGS__, 0, __VA_ARGS__)
#define all(x) (x).begin(), (x).end()
template <class T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; }
template <class T> bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; }
#define fls(x) (64 - __builtin_clzll(x))
#define pcnt(x) __builtin_popcountll(x)
using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef pair <int,int> P;
typedef long double ld;

int main (void)
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    // Submit this code from the browser if using ACL!
    ll n, m; cin >> n >> m;
    vector<int> a(n), b(m);
    rep (i, n) cin >> a[i];
    rep (i, m) cin >> b[i];
    for (auto x : convolution<998244353>(a, b)) cout << x << " ";
    cout << "\n";
    return 0;
}

Compiler output:
a.cc:25:10: fatal error: atcoder/all: No such file or directory
   25 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#import<atcoder/all>
int n,m;main(){auto c=std::cin>>n>>m;std::vector<int>a(n),b(m);for(int&a:a)c>>a;for(int&b:b)c>>b;for(int i:atcoder::convolution(a,b))std::cout<<i<<' ';}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<atcoder/all>
      |  ^~~~~~
a.cc:1:8: fatal error: atcoder/all: No such file or directory
    1 | #import<atcoder/all>
      |        ^~~~~~~~~~~~~
compilation terminated.
Language: C++

//#define _GLIBCXX_DEBUG
#include<bits/stdc++.h>
#include <atcoder/convolution>
#include <atcoder/modint>
using namespace atcoder;
using namespace std;
template <class A, class B> inline bool chmax(A &a, const B &b) { return b > a && (a = b, true); }
template <class A, class B> inline bool chmin(A &a, const B &b) { return b < a && (a = b, true); }
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
typedef vector<long long> vlong;
typedef vector<string> vstring;
#define vpush(a,x) a.push_back(x);
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define REP(i, x, n) for(int i = x; i < n; i++)
const int INF = 1 << 30;
const int dx[] = {1,0,-1,0,1,1,-1,-1};
const int dy[] = {0,-1,0,1,1,-1,-1,1};
#define stp(x)  setprecision(x)
const long double PI=3.14159265358979323846264338327950;
int main(){
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  int n,m;
  cin>>n>>m;
  vlong a(n);
  vlong b(m);
  rep(i,n){
    cin>>a[i];
  }
  rep(j,m){
    cin>>b[i];
  }
  vlong c=convolution(a,b);
  rep(i,n+m-1){
    cout<<c[i]<<' ';
  }
  return(0);
}

Compiler output:
a.cc:3:10: fatal error: atcoder/convolution: No such file or directory
    3 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <tuple>
#include <numeric>
#include <functional>
#include <atcoder/convolution>
using namespace std;
using namespace atcoder;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll, ll> P;
#define rep(i, n) for(ll i = 0; i < n; i++)
#define exrep(i, a, b) for(ll i = a; i <= b; i++)
#define out(x) cout << x << endl
#define exout(x) printf("%.10f\n", x)
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define pb push_back
#define re0 return 0
const ll mod = 1000000007;
const ll INF = 1e16;

int main() {
    ll n, m;
    cin >> n >> m;
 
    vl a(n);
    rep(i, n) {
        cin >> a[i];
    }
    vl b(m);
    rep(i, m) {
        cin >> b[i];
    }
    
    vl c = convolution(a, b);
    rep(i, n+m-1) {
        cout << c[i] << " ";
    }
    
    re0;
}

Compiler output:
a.cc:16:10: fatal error: atcoder/convolution: No such file or directory
   16 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <tuple>
#include <numeric>
#include <functional>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll, ll> P;
#define rep(i, n) for(ll i = 0; i < n; i++)
#define exrep(i, a, b) for(ll i = a; i <= b; i++)
#define out(x) cout << x << endl
#define exout(x) printf("%.10f\n", x)
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define pb push_back
#define re0 return 0
const ll mod = 1000000007;
const ll INF = 1e16;

int main() {
    ll n, m;
    cin >> n >> m;
 
    vl a(n);
    rep(i, n) {
        cin >> a[i];
    }
    vl b(m);
    rep(i, m) {
        cin >> b[i];
    }
    
    vl c = convolution<998244353>(a, b);
    rep(i, n+m-1) {
        cout << c[i] << " ";
    }
    
    re0;
}

Compiler output:
a.cc:16:10: fatal error: atcoder/all: No such file or directory
   16 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <tuple>
#include <numeric>
#include <functional>
#include <atcoder/convolution>
#include <atcoder/modint>
using namespace std;
using namespace atcoder;
typedef long long ll;
typedef vector<ll> vl;
typedef vector<vector<ll>> vvl;
typedef pair<ll, ll> P;
#define rep(i, n) for(ll i = 0; i < n; i++)
#define exrep(i, a, b) for(ll i = a; i <= b; i++)
#define out(x) cout << x << endl
#define exout(x) printf("%.10f\n", x)
#define chmax(x, y) x = max(x, y)
#define chmin(x, y) x = min(x, y)
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
#define pb push_back
#define re0 return 0
const ll mod = 1000000007;
const ll INF = 1e16;

int main() {
    ll n, m;
    cin >> n >> m;
 
    vl a(n);
    rep(i, n) {
        cin >> a[i];
    }
    vl b(m);
    rep(i, m) {
        cin >> b[i];
    }
    
    vl c = convolution(a, b);
    rep(i, n+m-1) {
        cout << c[i] << " ";
    }
    
    re0;
}

Compiler output:
a.cc:16:10: fatal error: atcoder/convolution: No such file or directory
   16 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/convolution>
using namespace std;
using ll = long long;
template <class T> using vec = vector<T>;
template <class T> using vvec = vector<vec<T>>;

using namespace atcoder;
using mint = modint998244353;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    int N,M;
    cin >> N >> M;
    vec<int> A(N),B(M);
    for(auto& x:A) cin >> x;
    for(auto& x:B) cin >> x;
    auto C = convolution(A,B);
    for(int i=0;i<C.size();i++) cout << C[i] << (i+1!=C.size()? " ":"\n");
}

Compiler output:
a.cc:2:10: fatal error: atcoder/convolution: No such file or directory
    2 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/convolution>
#include <atcoder/modint>
#include <cstdio>

using namespace std;
using namespace atcoder;

int main() {
	int n, m;
	scanf("%d %d", &n, &m);
	vector<long long> a(n), b(m);
	for(int i = 0; i < n; i++) {
		scanf("%lld", &(a[i]));
	}
	for(int i = 0; i < m; i++) {
		scanf("%lld", &(b[i]));
	}

	vector<long long> c = convolution(a, b);
	// or: vector<long long> c = convolution<998244353>(a, b);

	for(int i = 0; i < n + m - 1; i++) {
		printf("%lld ", c[i]);
	}
	printf("\n");

	return 0;
}


Compiler output:
a.cc:1:10: fatal error: atcoder/convolution: No such file or directory
    1 | #include <atcoder/convolution>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/scc>
//#include <boost/multiprecision/cpp_int.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
#pragma GCC optimize("O3")
#define REP(i,n) for(int i=0;i<n;i++)
#define REPP(i,n) for(int i=1;i<=n;i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define EPS (1e-9)
#define INF (1e17)
#define PI (acos(-1))
//const double PI = acos(-1);
//const double EPS = 1e-15;
//long long INF=(long long)1E17;
#define i_7 (long long)(1e9+7)
//#define i_7 998'244'353
long mod(long a){
    long long c=a%i_7;
    if(c>=0)return c;
    return c+i_7;
}
long long po(long a, long b){
    if(b==0){
        return 1;
    }
    
    long long z = po(a,b/2);
    z = mod(z*z);
    if(b%2!=0){
        z = mod(a*z);
    }
    return z;
}
 
bool prime_(int n){
  if(n==1){
    return false;
  }else if(n==2){
    return true;
  }else{
    for(int i=2;i<=std::sqrt(n);i++){
      if(n%i==0){
        return false;
      }
    }
    return true;
  }
}
 
long long gcd_(long long a, long long b){
  if(a<b){
    std::swap(a,b);
  }
  if(a%b==0){
    return b;
  }else{
    return gcd_(b,a%b);
  }
}
 
long long lcm_(long long x, long long y){
  return (x/gcd_(x,y))*y;
}
 
//using namespace std;
//using namespace boost::multiprecision;
//using namespace __gnu_pbds;

int main(){
  using namespace std;
  using namespace atcoder;
  
  int n, m;
  cin>>n>>m;
  int a[m], b[m];
  REP(i, m) cin>>a[i]>>b[i];
  
  scc_graph graph(int n);
  REP(i, m) graph.add_edge(a[i], b[i]);
  vector<vector<int>> cmps = graph.scc();
  
  int k = cmps.size();
  cout << k << endl;
  REP(i, k){
    int l = cmps[i].size();
    cout << l << ' ';
    for(int v: cmps[i]) cout << v << ' ';
    cout << endl;
  }
  return 0;
}


Compiler output:
a.cc:2:10: fatal error: atcoder/scc: No such file or directory
    2 | #include <atcoder/scc>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/scc>
#include <iostream>
#include <algorithm>
#include <numeric>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <iomanip>
#include <functional>
#include <bitset>
#include <limits>
#include <cstdio>
#include <cmath>
#include <cassert>
#include <random>


#ifdef DEBUG
#include "library/Utility/debug.cpp"
#else
#define debug(...)
#endif

#define rep(i,n) for(int i=0;i<(n);++i)
#define EL '\n'
#define print(i) std::cout << (i) << '\n'
#define all(v) (v).begin(), (v).end()
using lnt = long long;
struct FIO{FIO(){std::cin.tie(0);std::ios_base::sync_with_stdio(0);std::cout<<std::setprecision(15);}}fIO;
template<typename T> using V = std::vector<T>;
template<typename T> void fill(V<T>&v) { for(T&e:v) std::cin >> e; }
/*-*/

int main() {
	int n,m;
	std::cin >> n >> m;
	atcoder::scc_graph g(n);
	rep(i,m) {
		int a,b;
		std::cin >> a >> b;
		g.add_edge(a,b);
	}
	auto scc=g.scc();
	print(scc.size());
	for(auto& e:scc) {
		std::cout << e.size();
		for(auto x:e) std::cout << ' ' << x;
		std::cout << EL;
	}
}


Compiler output:
a.cc:1:10: fatal error: atcoder/scc: No such file or directory
    1 | #include <atcoder/scc>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <algorithm>
#include <numeric>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <iomanip>
#include <functional>
#include <bitset>
#include <limits>
#include <cstdio>
#include <cmath>
#include <cassert>
#include <random>

#include <atcoder/scc>

#ifdef DEBUG
#include "library/Utility/debug.cpp"
#else
#define debug(...)
#endif

#define rep(i,n) for(int i=0;i<(n);++i)
#define EL '\n'
#define print(i) std::cout << (i) << '\n'
#define all(v) (v).begin(), (v).end()
using lnt = long long;
struct FIO{FIO(){std::cin.tie(0);std::ios_base::sync_with_stdio(0);std::cout<<std::setprecision(15);}}fIO;
template<typename T> using V = std::vector<T>;
template<typename T> void fill(V<T>&v) { for(T&e:v) std::cin >> e; }
/*-*/

int main() {
	int n,m;
	std::cin >> n >> m;
	atcoder::scc_graph g(n);
	rep(i,m) {
		int a,b;
		std::cin >> a >> b;
		g.add_edge(a,b);
	}
	auto scc=g.scc();
	print(scc.size());
	for(auto& e:scc) {
		std::cout << e.size();
		for(auto x:e) std::cout << ' ' << x;
		std::cout << EL;
	}
}


Compiler output:
a.cc:20:10: fatal error: atcoder/scc: No such file or directory
   20 | #include <atcoder/scc>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;

typedef long long ll;
#define all(v) v.begin(), v.end()
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define Rep(n) for (ll _ = 0; _ < (ll)(n); _++)

template <class S>S sum(vector<S>& a) {return accumulate(all(a), S());}
template <class S>S max(vector<S>& a) {return *max_element(all(a));}
template <class S>S min(vector<S>& a) {return *min_element(all(a));}
ll max(int a, ll b) { return max((ll)a, b); } ll max(ll a, int b) { return max(a, (ll)b); }
ll min(int a, ll b) { return min((ll)a, b); } ll min(ll a, int b) { return min(a, (ll)b); }

void eprint() { cerr << endl; }
template <class First, class... Rest>
void eprint(First& f, Rest&... r) {
  cerr << f << ' ';
  eprint(r...);
}
template <class T>
ostream& operator<<(ostream& os, const vector<T>& v) {
  size_t output_num = v.size();
  bool is_emitted = false;
#ifdef OUTPUT_VECTOR_MAX
  if (OUTPUT_VECTOR_MAX < output_num) {
    output_num = OUTPUT_VECTOR_MAX;
    is_emitted = true;
  }
#endif
  os << "[";
  for (size_t i = 0; i < output_num - 1; i++) os << v[i] << ", ";
  os << v[output_num - 1];
  if (is_emitted) os << ", ...";
  return os << "]";
}

void Main();
int main() {
  cin.tie(nullptr);
  ios_base::sync_with_stdio(false);
  cout << fixed << setprecision(20);
  Main();
  return 0;
}

void Main() {
  int n,m; cin >> n >> m;
  scc_graph g(n);
  Rep(m){
    int a,b; cin>>a>>b;
    g.add_edge(a,b);
  }
  auto ans = g.scc();
  cout << ans.size() << endl;
  for(auto v: ans){
    cout << v.size() << ' ';
    for(auto a: v){
      cout << a << ' ';
    }
    cout << endl;
  }
}


Compiler output:
a.cc:2:10: fatal error: atcoder/all: No such file or directory
    2 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include<atcoder/all>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define chmax(a, b) a = max(a, b)
#define chmin(a, b) a = min(a, b)
#define all(x) (x).begin(), (x).end()
using namespace std;
using namespace atcoder;
using ll = long long;
using P = pair<int,int>;
using VI = vector<int>;
using VVI = vector<VI>;

int main() {
    int n, m;
    cin >> n >> m;
    scc_graph g(n);
    rep(i, m) {
        int a, b;
        cin >> a >> b;
        g.add_edge(a, b);
    }
    auto vs = g.scc();
    cout << vs.size() << endl;
    rep(i, vs.size()) {
        cout << vs[i].size();
        rep(j, vs[i].size()) cout << ' ' << vs[i][j];
        cout << endl;
    }
}


Compiler output:
a.cc:2:9: fatal error: atcoder/all: No such file or directory
    2 | #include<atcoder/all>
      |         ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
using namespace std;
#include <atcoder/all>
using namespace atcoder;
using ll= long long;
using ld= long double;
using vi= vector<int>;
using vl= vector<ll>;
using vd= vector<ld>;
using vs= vector<string>;
using vb= vector<bool>;
using vvi= vector<vector<int>>;
using vvl= vector<vector<ll>>;
using vvd= vector<vector<ld>>;
using vvs= vector<vector<string>>;
using vvb= vector<vector<bool>>;
using pll= pair<ll, ll>;
constexpr ll mod= 1e9 + 7;
#define ALL(x) (x).begin(), (x).end()
#define REP(i, n) for(ll(i)= 0; (i) < (n); (i)++)
#define REPS(i, n) for(ll(i)= 1; (i) <= (n); (i)++)
#define RREP(i, n) for(ll(i)= (n - 1); (i) >= 0; (i)--)
#define RREPS(i, n) for(ll(i)= (n); (i) > 0; (i)--)
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define UNIQUE(v) v.erase(unique(ALL(v)), v.end())
#define YES(n) ((n) ? "YES" : "NO")
#define Yes(n) ((n) ? "Yes" : "No")
#define yes(n) ((n) ? "yes" : "no")

template <class T>
inline void chmin(T &a, T b) {
    if(a > b) { a= b; }
}

template <class T>
inline void chmax(T &a, T b) {
    if(a < b) { a= b; }
}

signed main() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(12);
    ll N, M;
    cin >> N >> M;
    scc_graph G(N);
    REP(i, M) {
        ll x, y;
        cin >> x >> y;
        G.add_edge(x, y);
    }
    vvi SC= G.scc();
    cout << SC.size() << "\n";
    REP(i, SC.size()) {
        cout << SC[i].size() << " ";
        REP(l, SC[i].size()) {
            cout << SC[i][l] << (l == SC[i].size() - 1 ? "\n" : " ");
        }
    }
}

Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/scc>
using namespace std;
using namespace atcoder;
int main(){
  int N, M;
  cin >> N >> M;
  scc_graph G(N);
  for (int i = 0; i < M; i++){
    int a, b;
    cin >> a >> b;
    G.add_edge(a, b);
  }
  vector<vector<int>> ans = G.scc();
  int K = ans.size();
  cout << K << endl;
  for (int i = 0; i < K; i++){
    int l = ans[i].size();
    cout << l;
    for (int j = 0; j < l; j++){
      cout << ' ' << ans[i][j];
    }
    cout << endl;
  }
}

Compiler output:
a.cc:2:10: fatal error: atcoder/scc: No such file or directory
    2 | #include <atcoder/scc>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#define _DEBUG
#include "bits/stdc++.h"
#include <atcoder/all>
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0,a1,a2,a3,a4,x,...) x
#define debug_1(x1) cout<<#x1<<": "<<x1<<endl
#define debug_2(x1,x2) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<endl
#define debug_3(x1,x2,x3) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<", "#x3<<": "<<x3<<endl
#define debug_4(x1,x2,x3,x4) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<", "#x3<<": "<<x3<<", "#x4<<": "<<x4<<endl
#define debug_5(x1,x2,x3,x4,x5) cout<<#x1<<": "<<x1<<", "#x2<<": "<<x2<<", "#x3<<": "<<x3<<", "#x4<<": "<<x4<<", "#x5<<": "<<x5<<endl
#ifdef _DEBUG
#define debug(...) CHOOSE((__VA_ARGS__,debug_5,debug_4,debug_3,debug_2,debug_1,~))(__VA_ARGS__)
#else
#define debug(...)
#endif
#define rep(index,num) for(int index=0;index<(int)num;index++)
#define rep1(index,num) for(int index=1;index<=(int)num;index++)
#define brep(index,num) for(int index=(int)num-1;index>=0;index--)
#define brep1(index,num) for(int index=(int)num;index>0;index--)
#define scan(argument) cin>>argument
#define prin(argument) cout<<argument<<endl
#define kaigyo cout<<endl
#define eps 1e-7
#define mp(a1,a2) make_pair(a1,a2)
#define ALL(a) (a).begin(),(a).end()
#define rALL(a) (a).rbegin(),(a).rend()
typedef long long ll;
typedef long double ld;
using namespace std;
using namespace atcoder;
typedef pair<ll,ll> pll;
typedef pair<int,int> pint;
typedef vector<int> vint;
typedef vector<ll> vll;
typedef vector<pint> vpint;
typedef vector<pll> vpll;
ll INFl=(ll)1e+18+1;
int INF=1e+9+1;
int main(){
	int N,M;
	scan(N>>M);
	scc_graph g(N);
	rep(i,M){
		int a,b;//0-indexed
		scan(a>>b);
		g.add_edge(a,b);
	}
	for(const auto& group:g.scc()){
		printf("%d ",group.size());
		for(const auto& v:group){
			printf("%d ",v);
		}
		kaigyo;
	}
	return 0;
}


Compiler output:
a.cc:3:10: fatal error: atcoder/all: No such file or directory
    3 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
typedef long long ll;
typedef std::pair<ll, ll> P;

#define rep(i,n) for(int i = 0; i < int(n); i++)
using namespace std;

template<class T> inline bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }

#include <algorithm>
#include <atcoder/internal_scc>
#include <cassert>
#include <vector>

namespace atcoder {

	struct scc_graph {
	public:
		scc_graph() : internal(0) {}
		scc_graph(int n) : internal(n) {}

		void add_edge(int from, int to) {
			int n = internal.num_vertices();
			assert(0 <= from && from < n);
			assert(0 <= to && to < n);
			internal.add_edge(from, to);
		}

		std::vector<std::vector<int>> scc() { return internal.scc(); }

	private:
		internal::scc_graph internal;
	};

}  // namespace atcoder

int main() {
	ll n, m;
	cin >> n >> m;
	atcoder::scc_graph g(n);
	rep(i, m - 1) {
		int a, b;
		cin >> a >> b;
		g.add_edge(a,b);
	}
	auto s = g.scc();
	cout << s.size() << endl;;
	for (auto e : s) {
		cout << e.size() << " ";
		for (auto e2 : e) {
			cout << e2 << " ";
		}
		cout << endl;
	}
	return 0;
}


Compiler output:
a.cc:12:10: fatal error: atcoder/internal_scc: No such file or directory
   12 | #include <atcoder/internal_scc>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
typedef long long ll;
typedef std::pair<ll, ll> P;

#define rep(i,n) for(int i = 0; i < int(n); i++)
using namespace std;

template<class T> inline bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }

#include <atcoder/scc.hpp>

int main() {
	ll n, m;
	cin >> n >> m;
	atcoder::scc_graph g(n);
	rep(i, m - 1) {
		int a, b;
		cin >> a >> b;
		g.add_edge(a,b);
	}
	auto s = g.scc();
	cout << s.size() << endl;;
	for (auto e : s) {
		cout << e.size() << " ";
		for (auto e2 : e) {
			cout << e2 << " ";
		}
		cout << endl;
	}
	return 0;
}


Compiler output:
a.cc:11:10: fatal error: atcoder/scc.hpp: No such file or directory
   11 | #include <atcoder/scc.hpp>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include <iostream>
#include <vector>
#include <map>
using namespace std;

struct Graph
{
    int n;
    vector<vector<int>> g;
    
    Graph(){}
    
    Graph(int n) : n(n){
        g.resize(n);
    }
    
    void add_edge(int from, int to){
        g[from].push_back(to);
    }
};

struct SCC      //StronglyConnectedComponents
{
    int n;
    int k;
    vector<vector<int>> g, rg;
    vector<bool> used;
    vector<int> cmp;
    vector<int> vs;
    
    void add_edge(int from, int to){
        g[from].push_back(to);
        rg[to].push_back(from);
    }
    
    SCC(int n) : n(n){
        g.resize(n);
        rg.resize(n);
        used.resize(n);
        cmp.resize(n);
        vs.resize(n);
    }
    
    void dfs(int u, int &l){
        used[u] = true;
        for(int v : g[u]){
            if(!used[v]) dfs(v, l);
        }
        vs[l] = u;
        l++;
    }
    
    void rdfs(int u, int k){
        used[u] = true;
        cmp[u] = k;
        for(int v : rg[u]){
            if(!used[v]) rdfs(v, k);
        }
    }
    
    int decomposition(){
        int l = 0;
        for(int i = 0; i < n; i++){
            if(!used[i]) dfs(i, l);
        }
        fill(used.begin(), used.end(), false);
        k = 0;
        for(int i = n - 1; i >= 0; i--){
            if(!used[vs[i]]){
                rdfs(vs[i], k);
                k++;
            }
        }
        return k;
    }
    
    int decomposition(Graph &dag){
        k = decomposition();
        dag.n = k;
        dag.g.resize(k);
        map<pair<int, int>, bool> mp;
        for(int u = 0; u < n; u++){
            for(int v : g[u]){
                if(!mp[pair<int, int> (cmp[u], cmp[v])] && cmp[u] != cmp[v]){
                    mp[pair<int, int> (cmp[u], cmp[v])] = true;
                    dag.add_edge(cmp[u], cmp[v]);
                }
            }
        }
        return k;
    }
};

vector<int> v[500005];

int main()
{
    int n, m;
    cin >> n >> m;
    SCC g(n);
    for(int i = 0; i < m; i++){
        int a, b;
        cin >> a >> b;
        g.add_edge(a, b);
    }
    int k = g.decomposition();
    for(int i = 0; i < n; i++){
        v[g.cmp[i]].push_back(i);
    }
    cout << k << endl;
    for(int i = 0; i < k; i++){
        cout << (int)v[i].size();
        for(int j : v[i]) cout << " " << j;
        cout << endl;
    }
}


Compiler output:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

#include <atcoder/scc>
#include <cstdio>

using namespace std;
using namespace atcoder;

int main() {
    int n, m;
    cin >> n >> m;

    scc_graph g(n);

    for (int i = 0; i < m; i++) {
        int u, v;
        cin >> u >> v;
        g.add_edge(u, v);
    }

    auto scc = g.scc();

    cout << (int)scc.size() << endl;
    for (auto v : scc) {
        cout << (int)v.size();
        for (int x : v) {
            cout << " " << x;
        }
        cout << endl;
    }

    return 0;
}


Compiler output:
a.cc:1:10: fatal error: atcoder/scc: No such file or directory
    1 | #include <atcoder/scc>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
using P = pair<ll, ll>;
using Pld = pair<ld, ld>;
using Vec = vector<ll>;
using VecP = vector<P>;
using VecB = vector<bool>;
using VecC = vector<char>;
using VecD = vector<ld>;
using VecS = vector<string>;
template <class T>
using Vec2 = vector<vector<T>>;
#define REP(i, m, n) for(ll i = (m); i < (n); ++i)
#define REPN(i, m, n) for(ll i = (m); i <= (n); ++i)
#define REPR(i, m, n) for(ll i = (m)-1; i >= (n); --i)
#define REPNR(i, m, n) for(ll i = (m); i >= (n); --i)
#define rep(i, n) REP(i, 0, n)
#define repn(i, n) REPN(i, 1, n)
#define repr(i, n) REPR(i, n, 0)
#define repnr(i, n) REPNR(i, n, 1)
#define all(s) (s).begin(), (s).end()
#define pb push_back
#define fs first
#define sc second
template <class T1, class T2>
bool chmax(T1 &a, const T2 b){if(a < b){a = b; return true;} return false;}
template <class T1, class T2>
bool chmin(T1 &a, const T2 b){if(a > b){a = b; return true;} return false;}
ll pow2(const int n){return (1LL << n);}
template <class T>
ostream &operator<<(ostream &os, const vector<T> &v) {
    for (T &i : v) os << i << ' ';
    return os;
}
void co() { cout << endl; }
template <class Head, class... Tail>
void co(Head&& head, Tail&&... tail) {
    cout << head << ' ';
    co(forward<Tail>(tail)...);
}
void ce() { cerr << endl; }
template <class Head, class... Tail>
void ce(Head&& head, Tail&&... tail) {
    cerr << head << ' ';
    ce(forward<Tail>(tail)...);
}
void sonic(){ios::sync_with_stdio(false); cin.tie(0);}
void setp(const int n){cout << fixed << setprecision(n);}
constexpr int INF = 1000000001;
constexpr ll LINF = 1000000000000000001;
constexpr ll MOD = 1000000007;
constexpr ll MOD_N = 998244353;
constexpr ld EPS = 1e-11;
const double PI = acos(-1);

int main(void) {
    ll n, m;
    cin >> n >> m;
    scc_graph scc(n);
    while (m--) {
        ll a, b;
        cin >> a >> b;
        scc.add_edge(a, b);
    }

    auto v = scc.scc();
    co(v.size());
    for (auto &i : v) co(i.size(), i);

    return 0;
}


Compiler output:
a.cc:2:10: fatal error: atcoder/all: No such file or directory
    2 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll = long long;
using ld = long double;
using P = pair<ll, ll>;
using Pld = pair<ld, ld>;
using Vec = vector<ll>;
using VecP = vector<P>;
using VecB = vector<bool>;
using VecC = vector<char>;
using VecD = vector<ld>;
using VecS = vector<string>;
template <class T>
using Vec2 = vector<vector<T>>;
#define REP(i, m, n) for(ll i = (m); i < (n); ++i)
#define REPN(i, m, n) for(ll i = (m); i <= (n); ++i)
#define REPR(i, m, n) for(ll i = (m)-1; i >= (n); --i)
#define REPNR(i, m, n) for(ll i = (m); i >= (n); --i)
#define rep(i, n) REP(i, 0, n)
#define repn(i, n) REPN(i, 1, n)
#define repr(i, n) REPR(i, n, 0)
#define repnr(i, n) REPNR(i, n, 1)
#define all(s) (s).begin(), (s).end()
#define pb push_back
#define fs first
#define sc second
template <class T1, class T2>
bool chmax(T1 &a, const T2 b){if(a < b){a = b; return true;} return false;}
template <class T1, class T2>
bool chmin(T1 &a, const T2 b){if(a > b){a = b; return true;} return false;}
ll pow2(const int n){return (1LL << n);}
template <class T>
ostream &operator<<(ostream &os, const vector<T> &v) {
    for (T i : v) os << i << ' ';
    return os;
}
void co() { cout << endl; }
template <class Head, class... Tail>
void co(Head&& head, Tail&&... tail) {
    cout << head << ' ';
    co(forward<Tail>(tail)...);
}
void ce() { cerr << endl; }
template <class Head, class... Tail>
void ce(Head&& head, Tail&&... tail) {
    cerr << head << ' ';
    ce(forward<Tail>(tail)...);
}
void sonic(){ios::sync_with_stdio(false); cin.tie(0);}
void setp(const int n){cout << fixed << setprecision(n);}
constexpr int INF = 1000000001;
constexpr ll LINF = 1000000000000000001;
constexpr ll MOD = 1000000007;
constexpr ll MOD_N = 998244353;
constexpr ld EPS = 1e-11;
const double PI = acos(-1);

int main(void) {
    ll n, m;
    cin >> n >> m;
    scc_graph scc(n);
    while (m--) {
        ll a, b;
        cin >> a >> b;
        scc.add_edge(a, b);
    }

    auto v = scc.scc();
    co(v.size());
    for (auto i : v) co(i.size(), i);

    return 0;
}

Compiler output:
a.cc:2:10: fatal error: atcoder/all: No such file or directory
    2 | #include <atcoder/all>
      |          ^~~~~~~~~~~~~
compilation terminated.