Submission #767779

#TimeUsernameProblemLanguageResultExecution timeMemory
767779drdilyorKućice (COCI21_kucice)C++17
0 / 110
1 ms344 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; ll res = n; n--; 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...