Toggle navigation
YouTube
Facebook
Telegram
english
english
українська
Algotester 4.3
Build 496
2024-10-17
Log In
Contact Us
College
Sponsors
Donate
Sources
C++ 17
#include <iostream> using namespace std; int main() { int b, k, x; cin >> b >> k >> x; int ans = b; for (int i = 0; i < k; i++) { ans += x; } cout << ans << endl; }