Submission #7949957


Source Code Expand

Copy
#include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
#include <utility>
#include <cmath>
#include <vector>
#include <queue>
#include <set>
#include <map>
#define rep(i, n) for(int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
const ll mod = 1000000007;

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

    int ans = 1;
    while(n--) {
        ans *= 4;
    }

    cout << ans << endl;
    return 0;
}

Submission Info

Submission Time
Task A - チップ・ストーリー ~無色編~
User dekomori_sanae
Language C++14 (GCC 5.4.1)
Score 100
Code Size 458 Byte
Status
Exec Time 1 ms
Memory 256 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 sample_01.txt, sample_02.txt
All 100 / 100 in01.txt, in02.txt, in03.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
in01.txt 1 ms 256 KB
in02.txt 1 ms 256 KB
in03.txt 1 ms 256 KB
sample_01.txt 1 ms 256 KB
sample_02.txt 1 ms 256 KB