結果

問題 No.1587 012 Matrix
ユーザー zhanghonghe2
提出日時 2021-07-08 23:42:59
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 307 bytes
コンパイル時間 1,590 ms
コンパイル使用メモリ 167,212 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-01 13:18:28
合計ジャッジ時間 6,032 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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