Submission #4271

#TimeUsernameProblemLanguageResultExecution timeMemory
4271joonas덩치 (KOI13_body)C++98
18 / 18
0 ms1088 KiB
#include <stdio.h> int main(){ int i,j, n, x[51], y[51], rank[51]; scanf("%d", &n); for(i=0; i < n; ++i) scanf("%d %d", &x[i], &y[i]); for(i=0; i < n; ++i){ rank[i] = 1; for(j=0; j < n; ++j){ if( x[i]<x[j] && y[i]<y[j] ) ++rank[i]; } printf("%d ", rank[i]); } printf("\n"); 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...