67872023-12-19 09:58:31KovacsBalintFormula-1cpp17Wrong answer 0/1003ms4424 KiB
#include <iostream>
 
using namespace std;
 
int main()
{
    int N,Hi,Vi,i,H=0,V=0;
    cin>>N;
    for (i=1; i<=N; i++)
    {
        cin>>Hi;
        H=H+Hi;
        cin>>Vi;
        V=V+Vi;
    }
    if (V>H)
    {
        cout<<"Verstappen"<<endl;
    }
    else if (H>V)
    {
        cout<<"Hamilton"<<endl;
    }
    return 0;
}
SubtaskSumTestVerdictTimeMemory
subtask10/0
1Wrong answer3ms1876 KiB
2Wrong answer3ms2120 KiB
subtask20/10
3Wrong answer3ms2364 KiB
4Wrong answer3ms2540 KiB
5Wrong answer3ms2708 KiB
6Wrong answer3ms2788 KiB
subtask30/15
7Wrong answer3ms2916 KiB
8Wrong answer3ms3128 KiB
9Wrong answer3ms3408 KiB
10Wrong answer3ms3600 KiB
11Wrong answer3ms3768 KiB
subtask40/20
12Wrong answer3ms3864 KiB
13Wrong answer3ms3852 KiB
14Wrong answer3ms3888 KiB
15Wrong answer3ms3884 KiB
16Wrong answer3ms4092 KiB
17Wrong answer3ms4104 KiB
18Wrong answer3ms4336 KiB
19Wrong answer3ms4308 KiB
subtask50/55
20Wrong answer3ms4316 KiB
21Wrong answer3ms4312 KiB
22Wrong answer3ms4308 KiB
23Wrong answer3ms4316 KiB
24Wrong answer3ms4340 KiB
25Wrong answer3ms4416 KiB
26Wrong answer3ms4312 KiB
27Wrong answer3ms4312 KiB
28Wrong answer3ms4424 KiB