Submission #3164

#TimeUsernameProblemLanguageResultExecution timeMemory
3164movie_jo덩치 (KOI13_body)C11
18 / 18
0 ms1088 KiB
#include<stdio.h> int N,x[50],y[50],i,j,k; int main(void) { scanf("%d",&N); for(i=0;i<N;i++) scanf("%d%d",x+i,y+i); for(i=0;i<N;i++) { k=0; for(j=0;j<N;j++) { if(x[j]>x[i]&&y[j]>y[i]) k++; } printf("%d ",k+1); } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...