제출 #767781

#제출 시각아이디문제언어결과실행 시간메모리
767781drdilyorKućice (COCI21_kucice)C++17
10 / 110
1 ms328 KiB
#include <bits/stdc++.h> using namespace std; using ll = long long; constexpr int mod = 1e9 + 7; 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...