Submission #782402

# Submission time Handle Problem Language Result Execution time Memory
782402 2023-07-13T23:15:32 Z NK_ Pipes (CEOI15_pipes) C++17
0 / 100
742 ms 65536 KB
// Success consists of going from failure to failure without loss of enthusiasm
#include <bits/stdc++.h>

using namespace std;

#define nl '\n'
#define f first
#define s second
#define mp make_pair


using ll = long long;
const int nax = 6e6+6;
ll E[nax];

int main() {
	cin.tie(0)->sync_with_stdio(0);
	
	int N, M; cin >> N >> M;
	for(int e = 0; e < M; e++) {
		int u, v; cin >> u >> v; --u, --v;
		E[e] = u * 1LL * N + v;
	}


    return 0;
}


# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Wrong number of edges
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 340 KB Wrong number of edges
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 62 ms 4964 KB Output is correct
2 Incorrect 63 ms 4888 KB Wrong number of edges
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 108 ms 8084 KB Output is correct
2 Runtime error 126 ms 20952 KB Memory limit exceeded
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 201 ms 11988 KB Output is correct
2 Runtime error 152 ms 23912 KB Memory limit exceeded
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 209 ms 14444 KB Output is correct
2 Runtime error 188 ms 30936 KB Memory limit exceeded
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 331 ms 22860 KB Memory limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 438 ms 30136 KB Memory limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 597 ms 39084 KB Memory limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 742 ms 65536 KB Memory limit exceeded
2 Halted 0 ms 0 KB -