Submission #35664
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include<bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio( false ); cin.tie(NULL); int n; cin >> n; int data[n]; for ( int i=0;i<n;i++) cin >> data[i]; sort(data,data+n); for ( int i=n-1;i>=0;i--) cout << data[i] << endl; return 0; } |
ステータス
項目 | データ |
---|---|
問題 | 0930 - 背の順 |
ユーザー名 | ei1612 |
投稿日時 | 2018-05-14 16:20:49 |
言語 | C++11 |
状態 | Accepted |
得点 | 1 |
ソースコード長 | 288 Byte |
最大実行時間 | 32 ms |
最大メモリ使用量 | 580 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 1 / 1 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
rnd_1.txt | AC | 23 ms | 480 KB |
1
|
rnd_2.txt | AC | 22 ms | 444 KB |
1
|
rnd_3.txt | AC | 16 ms | 528 KB |
1
|
rnd_4.txt | AC | 15 ms | 488 KB |
1
|
rnd_5.txt | AC | 32 ms | 580 KB |
1
|
sample.txt | AC | 24 ms | 544 KB |
1
|