提出 #72169153


ソースコード 拡げる

#include <bits/stdc++.h>
#define int long long

signed main(){
    int n;
    std::cin >> n;
    std::cout << (1ll << n) - (n << 1ll) << '\n';
    return 0;
}

提出情報

提出日時
問題 A - 2^n - 2*n
ユーザ Eiralys
言語 C++23 (GCC 15.2.0)
得点 100
コード長 166 Byte
結果 AC
実行時間 1 ms
メモリ 3560 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 11
セット名 テストケース
Sample 01.txt, 02.txt, 11.txt
All 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt, 11.txt
ケース名 結果 実行時間 メモリ
01.txt AC 1 ms 3436 KiB
02.txt AC 1 ms 3508 KiB
03.txt AC 1 ms 3396 KiB
04.txt AC 1 ms 3540 KiB
05.txt AC 1 ms 3396 KiB
06.txt AC 1 ms 3360 KiB
07.txt AC 1 ms 3560 KiB
08.txt AC 1 ms 3396 KiB
09.txt AC 1 ms 3392 KiB
10.txt AC 1 ms 3508 KiB
11.txt AC 1 ms 3552 KiB