알고리즘

[알고리즘] 백준 6810 - ISBN (C++)

blueberrysoda 2024. 12. 16. 22:29

[문제 링크] : https://www.acmicpc.net/problem/6810

#include <iostream>
using namespace std;

int A, B, C;

int main(){
    cin >> A >> B >> C;
    cout << "The 1-3-sum is " << 91 + A * 1 + B * 3 + C * 1 << "\n";
    return 0;
}