Submission #1159

#TimeUsernameProblemLanguageResultExecution timeMemory
1159kriii덩치 (KOI13_body)C++98
18 / 18
0 ms884 KiB
#include <stdio.h> int N,X[55],Y[55],R[55]; int main() { int i,j; scanf ("%d",&N); for (i=0;i<N;i++) scanf ("%d %d",&X[i],&Y[i]); for (i=0;i<N;i++){ for (j=0;j<N;j++) if (X[i] < X[j] && Y[i] < Y[j]) R[i]++; } for (i=0;i<N;i++) printf ("%d ",R[i]+1); return 0; }
#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...