답안 #271787

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
271787 2020-08-18T07:32:20 Z Halit Easter Eggs (info1cup17_eastereggs) C++17
0 / 100
2 ms 512 KB
#include <bits/stdc++.h>
#define max(xx,yy) (xx > yy ? xx : yy)
#define min(xx,yy) (xx > yy ? yy : xx)
#define all(x) x.begin(), x.end()
using namespace std;

int query( vector< int > islands);
int findEgg(int N, vector < pair < int, int > > bridges);

int findEgg(int N, vector< pair<int, int> > bridges){
	int ans = 0;
	for(int i = 0;i < N;++i){
		vector< int > v = { i+1 };
		ans += query(v);
	}
	return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Runtime error 2 ms 512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 2 ms 512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1 ms 512 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -