結果
問題 |
No.1475 時計の歯車Easy
|
ユーザー |
![]() |
提出日時 | 2024-05-11 21:32:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 292 bytes |
コンパイル時間 | 4,201 ms |
コンパイル使用メモリ | 279,612 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-12-20 08:49:31 |
合計ジャッジ時間 | 5,327 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 42 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ int N; cin >> N; while(N--){ int K; cin >> K; vector<int> L(K); for(auto &x : L) cin >> x; sort(L.begin(), L.end(), greater<int>()); for(auto x : L) cout << x << ' '; cout << endl; } }