結果

問題 No.1587 012 Matrix
ユーザー zhanghonghe2
提出日時 2021-07-08 23:47:39
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 301 bytes
コンパイル時間 1,560 ms
コンパイル使用メモリ 165,224 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-01 13:19:44
合計ジャッジ時間 6,030 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
    ios::sync_with_stdio(false);
    int N;cin>>N;
    int a=0,b=9;
    for(int i=1;i<=N;i++){
        for(int j=1;j<=N;j++){
            cout<<(rand() % (b-a))+ a;
            a+=10,b+=10;
        }
        cout<<endl;
    }
    return 0;
}
0