// [NWERC'14] Find line, by Jan Kuipers #include #include using namespace std; int main() { int N, P; cin >> N >> P; vector x(N),y(N); for (int i=0; i> x[i] >> y[i]; } bool possible = false; if (N == 1) { possible = true; } else { srandom(170681); for (int times = 0; times < 1000; times++) { int i1 = random() % N; int i2 = (i1 + 1 + random() % (N-1)) % N; int cnt = 0; for (int i=0; i= P * N) { possible = true; break; } } } cout << (possible ? "possible" : "impossible") << endl; return 0; }