| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1339113 | po_rag526 | Aliens (IOI07_aliens) | C++20 | 1 ms | 420 KiB |
#include <bits/stdc++.h>
using namespace std;
int N;
int x;
int y;
bool examine(int a, int b)
{
if (a < 1 || a > N || b < 1 || b > N)
{
return false;
}
cout << "examine " << x << " " << y << endl;
string str;
cin >> str;
return str == "true";
}
int main()
{
cin >> N;
cin >> x;
cin >> y;
int left = x, right = x, top = y, bot = y;
long long l = x;
while(examine(l - 2, y)) l -= 2;
left = l;
cout << "solution " << x << " " << y << endl;
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
