67042023-12-17 17:12:23MagyarKendeSZLGFalfelújítás FalFöldöncpp17Accepted 100/1003ms3764 KiB
#include <iostream>

using namespace std;

int main() {
    int N;
    cin >> N;
    cout << N * 2 + (N - 2) * 3 << endl;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Accepted3ms1872 KiB
2Accepted3ms2072 KiB
subtask220/20
3Accepted3ms2304 KiB
4Accepted3ms2524 KiB
5Accepted3ms2756 KiB
6Accepted3ms2852 KiB
subtask380/80
7Accepted3ms2956 KiB
8Accepted3ms3000 KiB
9Accepted3ms3404 KiB
10Accepted3ms3624 KiB
11Accepted3ms3708 KiB
12Accepted3ms3676 KiB
13Accepted3ms3684 KiB
14Accepted3ms3764 KiB
15Accepted3ms3764 KiB
16Accepted3ms3764 KiB