245372026-02-12 17:30:23AkosVagyokEmborZenehallgatáscpp17Wrong answer 0/5075ms1268 KiB
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
vector <int> zenek, st, seg;
int zsz, sszam, sum;
void be() {
    cin >> zsz>>sszam;
    zenek.resize(zsz+1);
    st.resize(sszam + 1);
    for (int i = 1; i <= zsz; i++) {
        cin >> zenek[i];
        //sum += zenek[i];
        if (i != 1) {
            zenek[i] += zenek[i];
        }
    }
    for (int i = 1; i <= sszam; i++) {
        cin >> st[i];        
    }
    int index = 0;
    seg.resize(sum + 1);
}
void nagy() {
    for (int k = 1; k <= sszam; k++) {
        
    }
}



int main()
{
    be();
    nagy();

    
}

SubtaskSumTestVerdictTimeMemory
base0/50
1Wrong answer0/01ms316 KiB
2Wrong answer0/075ms1260 KiB
3Wrong answer0/22ms316 KiB
4Wrong answer0/22ms316 KiB
5Wrong answer0/21ms316 KiB
6Wrong answer0/31ms316 KiB
7Wrong answer0/32ms508 KiB
8Wrong answer0/31ms316 KiB
9Wrong answer0/275ms1076 KiB
10Wrong answer0/275ms1076 KiB
11Wrong answer0/275ms1076 KiB
12Wrong answer0/274ms1076 KiB
13Wrong answer0/271ms1076 KiB
14Wrong answer0/271ms1076 KiB
15Wrong answer0/271ms1076 KiB
16Wrong answer0/271ms1268 KiB
17Wrong answer0/271ms1076 KiB
18Wrong answer0/268ms1076 KiB
19Wrong answer0/268ms1076 KiB
20Wrong answer0/264ms1268 KiB
21Wrong answer0/265ms1076 KiB
22Wrong answer0/364ms1268 KiB
23Wrong answer0/364ms1076 KiB
24Wrong answer0/364ms1268 KiB