cpp_lib

This documentation is automatically generated by competitive-verifier/competitive-verifier

View the Project on GitHub idat50me/cpp_lib

:warning: Submission page (test/aoj_GRL_4_B.cpp)

Submission page

Depends on

Code

// competitive-verifier: PROBLEM https://onlinejudge.u-aizu.ac.jp/problems/GRL_4_B
// competitive-verifier: IGNORE
// special judges not supported

#ifndef call_include
#define call_include
#include <bits/stdc++.h>
using namespace std;
#endif

#include "structure/2d_array.cpp"
#include "graph/topological_sort.cpp"

int main() {
	int V, E;
	cin >> V >> E;

	v2d<int> lst(V, 0);
	for(int i = 0; i < E; i++) {
		int s, t;
		cin >> s >> t;
		lst[s].push_back(t);
	}

	vector<int> ans = topological(lst);
	for(int i : ans) cout << i << endl;
}
Traceback (most recent call last):
  File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj_resolve/resolver.py", line 181, in resolve
    bundled_code = language.bundle(path, basedir=basedir)
  File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus.py", line 252, in bundle
    bundler.update(path)
  File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 422, in update
    raise BundleErrorAt(
competitive_verifier.oj.verify.languages.cplusplus_bundle.BundleErrorAt: test/aoj_GRL_4_B.cpp: line 11: found codes out of include guard
Back to top page