알고리즘

[알고리즘] 백준 8871 - Zadanie próbne 2 (C++)

blueberrysoda 2024. 11. 1. 23:55

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

#include <iostream>
using namespace std;

int main(){
    int N;
    cin >> N;
    cout << (N + 1) * 2 << " " << (N + 1) * 3 << "\n";
    return 0;
}