結果

問題 No.1841 Long Long
ユーザー Shonoshin GOTOShonoshin GOTO
提出日時 2022-03-21 16:56:54
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 1,468 bytes
コンパイル時間 934 ms
コンパイル使用メモリ 102,160 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-04-17 09:56:38
合計ジャッジ時間 1,543 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cmath>
#include <string>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <functional>
#include <map>
#include <set>
#include <tuple>
#include <iomanip>
#include <math.h>
using namespace std;
using ll = long long;
using Graph = vector<vector<ll>>;
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()
#define INF 1<<30
#define md 998244353
template<typename T>bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<typename T>bool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; }
vector<bool> seen;
void dfs(const vector<vector<ll>>& a, int v) {
    seen[v] = true;

    fore(next_v, a[v]) {
        if (seen[next_v]) continue;
        dfs(a, next_v);
    }
}
vector<int> bfs(const Graph& G, int s) {
    int N = (int)G.size();

    vector<int> dist(N, -1);
    queue<int> que;

    dist[s] = 0;
    que.push(s);

    //BFSJn
    while (!que.empty()) {
        int v = que.front();
        que.pop();

        fore(x, G[v]) {
            if (dist[x] != -1) continue;
            dist[x] = dist[v] + 1;
            que.push(x);
        }
    }

    return dist;
}

int main() {
    //Step1
    int n; cin >> n;

    //Step2


    //Step3
    rep(i, 0, n) cout << "long";

    return 0;
}
0