Submission #14263

# Submission time Handle Problem Language Result Execution time Memory
14263 2015-05-09T00:11:29 Z khsoo01 덩치 (KOI13_body) C++
18 / 18
0 ms 1756 KB
#import<iostream>
int n,a[999][9],c[999],i,j;main(){std::cin>>n;for(;i<n;i++)std::cin>>a[i][0]>>a[i][1];for(i=0;i<n;i++)for(j=0;j<n;j++)if(a[i][0]<a[j][0]&&a[i][1]<a[j][1])c[i]++;for(i=0;i<n;i++)std::cout<<++c[i]<<" ";}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct
3 Correct 0 ms 1756 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 1756 KB Output is correct
2 Correct 0 ms 1756 KB Output is correct