Submission #2330276


Source Code Expand

#include <bits/stdc++.h>
#define show(x) cerr << #x << " = " << x << endl
using namespace std;
using ll = long long;
using ld = long double;
constexpr ll MOD = 1000000007LL;
template <typename T>
constexpr T INF = numeric_limits<T>::max() / 10;
template <typename Functor>
struct fix_type
{
    Functor functor;
    template <typename... Args>
    decltype(auto) operator()(Args&&... args) const& { return functor(functor, std::forward<Args>(args)...); }
};
template <typename Functor>
fix_type<typename std::decay<Functor>::type> fix(Functor&& functor) { return {std::forward<Functor>(functor)}; }

int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    int N = 40;
    vector<vector<bool>> edge(N, vector<bool>(N, false));
    constexpr int CLIQUE = 3;
    for (int i = 0; i < CLIQUE; i++) {
        for (int j = 0; j < N; j++) {
            edge[i][j] = true;
            edge[j][i] = true;
        }
    }
    cout << N << endl;
    for (int i = 0; i < N; i++) {
        for (int j = 0; j < N; j++) {
            cout << (edge[i][j] ? "Y" : "N");
        }
        cout << endl;
    }
    return 0;
}

Submission Info

Submission Time
Task G - 自由研究
User pachicobue
Language C++14 (GCC 5.4.1)
Score 0
Code Size 1156 Byte
Status WA
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name All
Score / Max Score 0 / 500
Status
WA × 1
Set Name Test Cases
All 00_onlyone_input.txt
Case Name Status Exec Time Memory
00_onlyone_input.txt WA 1 ms 256 KB