結果
| 問題 | No.1475 時計の歯車Easy |
| ユーザー |
ManjushriMitra
|
| 提出日時 | 2021-04-22 20:58:53 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 286µs | |
| コード長 | 472 bytes |
| 記録 | |
| コンパイル時間 | 1,158 ms |
| コンパイル使用メモリ | 185,952 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-06 03:25:26 |
| 合計ジャッジ時間 | 3,149 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 42 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
using ll = long long;
int main(){
clock_t start=clock();
int N;
cin>>N;
while(N--){
int K;
cin>>K;
vector<int> L(K);
for(int i=0;i<K;++i) cin>>L[i];
sort(L.begin(),L.end(),greater<int>());
for(int i=0;i<K-1;++i) cout<<L[i]<<" ";
cout<<L.back()<<endl;
}
clock_t end=clock();
//cout<<1.0*(end-start)/CLOCKS_PER_SEC<<endl;
return 0;
}
ManjushriMitra