Submission #69146833


Source Code Expand

#include <bits/stdc++.h>

using i64 = long long;
using u64 = unsigned long long;
using u32 = unsigned;

using i128 = __int128;
using u128 = unsigned __int128;

int main() {
    std::ios::sync_with_stdio(false);
    std::cin.tie(nullptr);

    int N, K;
    std::cin >> N >> K;

    std::cout << (K % (1 << N) > 0) << "\n" << (K % (1 << N) > 0) << " ";
    for (int i = 1; i < 1 << N; i++) {
        std::cout << 0 << " ";
    }

    return 0;
}

Submission Info

Submission Time
Task D - Least Unbalanced
User Aori
Language C++ 23 (gcc 12.2)
Score 400
Code Size 466 Byte
Status AC
Exec Time 41 ms
Memory 3528 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 400 / 400
Status
AC × 2
AC × 25
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 01_random_06.txt, 01_random_07.txt, 01_random_08.txt, 01_random_09.txt, 01_random_10.txt, 01_random_11.txt, 01_random_12.txt, 01_random_13.txt, 01_random_14.txt, 01_random_15.txt, 01_random_16.txt, 01_random_17.txt, 01_random_18.txt, 01_random_19.txt, 01_random_20.txt, 01_random_21.txt, 01_random_22.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3352 KiB
00_sample_01.txt AC 1 ms 3328 KiB
01_random_00.txt AC 1 ms 3492 KiB
01_random_01.txt AC 1 ms 3400 KiB
01_random_02.txt AC 1 ms 3524 KiB
01_random_03.txt AC 1 ms 3444 KiB
01_random_04.txt AC 1 ms 3436 KiB
01_random_05.txt AC 1 ms 3400 KiB
01_random_06.txt AC 1 ms 3488 KiB
01_random_07.txt AC 1 ms 3528 KiB
01_random_08.txt AC 1 ms 3488 KiB
01_random_09.txt AC 1 ms 3380 KiB
01_random_10.txt AC 1 ms 3444 KiB
01_random_11.txt AC 1 ms 3516 KiB
01_random_12.txt AC 1 ms 3412 KiB
01_random_13.txt AC 2 ms 3492 KiB
01_random_14.txt AC 3 ms 3428 KiB
01_random_15.txt AC 4 ms 3524 KiB
01_random_16.txt AC 6 ms 3472 KiB
01_random_17.txt AC 11 ms 3448 KiB
01_random_18.txt AC 21 ms 3356 KiB
01_random_19.txt AC 41 ms 3472 KiB
01_random_20.txt AC 1 ms 3404 KiB
01_random_21.txt AC 3 ms 3464 KiB
01_random_22.txt AC 1 ms 3444 KiB