Codeforces Round #307 (Div. 2) A
来源:互联网 发布:c语言bool是什么 编辑:程序博客网 时间:2024/05/18 03:52
http://codeforces.com/contest/551/problem/A
#include <iostream>using namespace std;int data[2005];int main(){ int m; while(cin>>m) { for(int i=0; i<m; i++) cin>>data[i]; for(int i=0; i<m; i++) { int ans=1; for(int j=0; j<m; j++) if(data[i]<data[j]) ans++; cout<<ans<<" "; } cout<<endl; } return 0;}
0 0
- Codeforces Round #307 (Div. 2) A、B
- Codeforces Round #307 (Div. 2) A
- [水题]Codeforces Round #307 (Div. 2) A.GukiZ and Contest
- Codeforces Round #307 (Div. 2) A. GukiZ and Contest
- Codeforces Round #131 (Div. 2) A B
- Codeforces Round #174 (Div. 2) Problem A
- Codeforces Round #173 (Div. 2) A.Bit++
- Codeforces Round #181 (Div. 2) A题
- Codeforces Round #184 (Div. 2) A题
- Codeforces Round #185 (Div. 2)--A,B
- Codeforces Round #172 (Div. 2) A题
- Codeforces Round #166 (Div. 2) A题
- Codeforces Round #132 (Div. 2) A题
- Codeforces Round #131 (Div. 2) A题
- Codeforces Round #133 (Div. 2) A题
- Codeforces Round #137 (Div. 2) A题
- Codeforces Round #138 (Div. 2) A题
- Codeforces Round #147 (Div. 2) A题
- Java类与类之间关系总结
- Moto g 4G xt1079解锁root刷机
- SNL文法的递归下降语法分析器
- 老衣的开发工具和类库集之2014版
- cooike详解
- Codeforces Round #307 (Div. 2) A
- js加载等待,js进度等待
- C++获取目录下的文件列表
- 音乐播放demo知识点总结
- XCode中的Debug View Hierarchy功能
- LeetCode 之 Invert Binary Tree
- vs2008OCX无法注册输出,但是手动注册成功
- Android Service(一)
- java笔记12 内部类