結果

問題 No.1130 Grid Numbers
ユーザー kkkk97368086
提出日時 2021-11-24 17:47:19
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 1,711 ms
コンパイル使用メモリ 171,980 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-27 03:38:01
合計ジャッジ時間 2,419 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
    int h,w;
    cin >> h >> w;
    for(int i=0; i<h; i++){
        vector<int> a(w);
        for(int i=0; i<w; i++) cin >> a[i];
        sort(a.begin(),a.end());
        for(int i=0; i<w; i++) cout << a[i] << " ";
        printf("\n");
    }
    
}
0