Toggle navigation
YouTube
Facebook
Telegram
english
english
українська
Algotester 4.3
Build 496
2024-10-17
Log In
Contact Us
College
Sponsors
Donate
Sources
C++ 20
#include <bits/stdc++.h> using namespace std; int main() { int n, k, c; cin >> n >> k >> c; int m = (4 * n + k - 1) / k; cout << m * c << "\n"; return 0; }