結果

問題 No.5021 Addition Pyramid
ユーザー e869120
提出日時 2025-02-22 17:59:54
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 406 bytes
コンパイル時間 2,063 ms
コンパイル使用メモリ 198,144 KB
実行使用メモリ 6,820 KB
スコア 2,380,245
最終ジャッジ日時 2025-02-25 19:30:10
合計ジャッジ時間 4,466 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
純コード判定しない問題か言語
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 50
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main() {
    // Step 1. Input
    int N; cin >> N;
    vector<vector<int>> A(N, vector<int>(N, 0));
    for (int i = 0; i < N; i++) {
        for (int j = 0; j < N; j++) cin >> A[i][j];
    }

    // Step 2. Solve
    for (int i = 0; i < N; i++) {
        if (i >= 1) cout << " ";
        cout << rand() % 10000000;
    }
    cout << endl;
    return 0;
}
0