답안 #85803

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
85803 2018-11-21T14:52:07 Z teomrn 동기화 (JOI13_synchronization) C++14
0 / 100
110 ms 5568 KB
#include <bits/stdc++.h>
using namespace std;

int main()
{
	int n, m, q, a, b;
	cin >> n >> m >> q;
	
	for (int i = 1; i < n; i++)
		cin >> a >> b;

	map <int, int> s;

	while (m--) {
		int x;
		cin >> x;
		assert((s[x] += 1) <= 2);
	}

	return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Runtime error 3 ms 508 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 110 ms 5568 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 4 ms 5568 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 76 ms 5568 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 5568 KB Output isn't correct
2 Halted 0 ms 0 KB -