Submission #767774

#TimeUsernameProblemLanguageResultExecution timeMemory
767774drdilyorKućice (COCI21_kucice)C++17
0 / 110
1 ms212 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; constexpr int mod = 1e9; signed main() { cin.tie(0)->sync_with_stdio(0); int n; cin >> n; n--; ll res = 1; while (n--) { res = res * 2 % mod; } cout << res << '\n'; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...