117922024-11-11 10:27:49TortelliniJrFormula-1cpp17Wrong answer 0/1002ms520 KiB
#include <iostream>
#include <vector>
using namespace std;
int main()
{
    int n;
    int f;
    int hammerTime, hamt;
    int dudududu, vert;
    hammerTime = 0;
    dudududu = 0;
    hamt = 1e9;
    vert = 1e9;
    cin >> n;
    for (int i = 0; i < n; i++)
    {
        cin >> f;
        hammerTime += f;
        hamt = min(hamt, f);
    }
    for (int i = 0; i < n; i++)
    {
        cin >> f;
        dudududu += f;
        vert = min(vert, f);
    }
    if (hammerTime < dudududu)
    {
        cout << "Hamilton";
    }
    else
    {
        cout << "Verstappen";
    }
    if (hamt < vert)
    {
        cout << "Hamilton";
    }
    else
    {
        cout << "Verstappen";
    }
    {

    }
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer1ms320 KiB
2Wrong answer1ms320 KiB
subtask20/10
3Wrong answer1ms508 KiB
4Wrong answer1ms320 KiB
5Wrong answer1ms320 KiB
6Wrong answer1ms320 KiB
subtask30/15
7Wrong answer1ms320 KiB
8Wrong answer1ms320 KiB
9Wrong answer1ms320 KiB
10Wrong answer1ms320 KiB
11Wrong answer1ms320 KiB
subtask40/20
12Wrong answer1ms320 KiB
13Wrong answer1ms320 KiB
14Wrong answer1ms356 KiB
15Wrong answer1ms320 KiB
16Wrong answer1ms320 KiB
17Wrong answer2ms320 KiB
18Wrong answer1ms508 KiB
19Wrong answer1ms320 KiB
subtask50/55
20Wrong answer1ms320 KiB
21Wrong answer1ms388 KiB
22Wrong answer1ms508 KiB
23Wrong answer1ms320 KiB
24Wrong answer1ms500 KiB
25Wrong answer1ms320 KiB
26Wrong answer1ms520 KiB
27Wrong answer1ms320 KiB
28Wrong answer1ms320 KiB