This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
int h,w;
char arr[4009][4009];
bool flag1,flag2;
int main(){
/*scanf("%d%d",&h,&w);
for(int x=0;x<h;x++)
scanf("%s",&arr[x]);
for(int x=0;x<h;x++){
for(int y=0;y<w;y++){
flag1=flag1||(arr[x][y]=='F');
flag2=flag2||(arr[x][y]=='R');
}
}
printf("%d\n",(flag1&&flag2)?2:1);*/
printf("4\n");
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |