Submission #1188

#TimeUsernameProblemLanguageResultExecution timeMemory
1188gs13068덩치 (KOI13_body)C++98
18 / 18
0 ms884 KiB
#include<cstdio> int a[50]; int b[50]; int main() { int i,j,k,n; scanf("%d",&n); for(i=0;i<n;i++)scanf("%d%d",&a[i],&b[i]); for(i=0;i<n;i++) { k=0; for(j=0;j<n;j++) { if(a[j]>a[i]&&b[j]>b[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...