Submission #3005

#TimeUsernameProblemLanguageResultExecution timeMemory
3005imsifile덩치 (KOI13_body)C++98
18 / 18
0 ms1088 KiB
#include<stdio.h> int n,a[66],b[66],i,j,c; int main(){ scanf("%d",&n); for(;i<n;i++)scanf("%d%d",&a[i],&b[i]); for(;j<n;j++){ for(c=1,i=n;i--;)c+=a[j]<a[i]&&b[j]<b[i]; printf("%d ",c); } 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...