#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
int t,a,x,y;
cin>>t>>a;
for(int i=0;i<t;i++){
for(int j=0;j<200;j++){
cout<<"2 2\n";
cout.flush();
cin>>x>>y;
}
for(int j=0;j<200;j++){
cout<<"5 2\n";
cout.flush();
cin>>x>>y;
}
for(int j=0;j<200;j++){
cout<<"8 2\n";
cout.flush();
cin>>x>>y;
}
}
return 0;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
24 ms |
256 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
16 ms |
384 KB |
failed to make a rectangle in 1000 deployments |