11282022-03-05 11:01:47JMMirkoVásárlás (75 pont)cpp14Forditási hiba
PK
~JJmain.cpp#include <bits/stdc++.h>
using namespace std;

int main() {
    int n;
    cin >> n;
    vector<int> b(n+1);
    vector<int> ba(n+1);
    vector<int> bab(n+1);
    vector<int> baru(n+1);
    vector<int> aaru(n+1);
    b[0]=0;
    ba[0]=0;
    bab[0]=0;
    for(int i=1;i<n+1;i++){
        cin >> aaru[i];
    }
    for(int i=1;i<n+1;i++){
        cin >> baru[i];
    }
    for(int i=1;i<n+1;i++){
        b[i]=b[i-1]+baru[i];
        ba[i]=min(ba[i-1],b[i-1])+aaru[i];
        bab[i]=min(bab[i-1],ba[i-1])+baru[i];
    }
    cout << min(b[n],min(ba[n],bab[n])) << endl;
    return 0;
}
PK
~ppmain.oELF>Q@@|{-0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnorsUHSHdH%(HE1H@HH=HEH@HcHUHPHHHEHHEH@HcHUHpHHHEHHEH@HcHUHEHHHEHHEH@HcHUHEHHHEHH?H@HcH?HEHHH?HHPHHpHHEHDžD@9D0DHcHEHHHH=DDžH@9H0HHcHEHHHH=HDžL@9LLHcHPHHLHcHEHHËLHcHPHHLHcHPHHHËLHcHpHHHHLHcHEHHËLHcHpHHLHcHpHHHËLHcHEHHHHLHcHEHHËLHcHEHHLHcHPHHH= HHËLHcHpHHH HHËLHcHEHHHHHHHL@HcHEHHHË@HcHpHHHHHË@HcHPHHHHH=HHHHHEHHEHHEHHpHHPHHMdH3%(HHEHHHHHEH|HHEHXHHEH7HH?HHHEHHEHHEHHpHHPHHHH[]UHH}u}u2}u)H=HH5HHUH]UHH}HuHEHHEHH9sHEHE]	
cannot create std::vector larger than max_size().0^


+SZs:AZUHHH}HEHUHHH}HEHUHSH(H}HuHUH]HUHEHHHHEHHHHUHEHHHHEHHHH([]UHHH}HEHHHEHHHEHHHHEHUHH}HuHEHHUHH]UHH}HuHEHE9}HEHE]UHH}]UHH}]U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M6
"Z2
"[7
"]2="_-j"a"b"Y"Z2 "c.N"e&~"gW"iG"kN
6
<
"mX
"nG
"o

main.cpp_ZN6__pstl9execution2v1L3seqE_ZN6__pstl9execution2v1L3parE_ZN6__pstl9execution2v1L9par_unseqE_ZN6__pstl9execution2v1L5unseqE_ZStL8__ioinit_ZN9__gnu_cxxL21__default_lock_policyE_ZNSt15regex_constantsL13error_collateE_ZNSt15regex_constantsL11error_ctypeE_ZNSt15regex_constantsL12error_escapeE_ZNSt15regex_constantsL13error_backrefE_ZNSt15regex_constantsL11error_brackE_ZNSt15regex_constantsL11error_parenE_ZNSt15regex_constantsL11error_braceE_ZNSt15regex_constantsL14error_badbraceE_ZNSt15regex_constantsL11error_rangeE_ZNSt15regex_constantsL11error_spaceE_ZNSt15regex_constantsL15error_badrepeatE_ZNSt15regex_constantsL16error_complexityE_ZNSt15regex_constantsL11error_stackE_ZNSt8__detailL19_S_invalid_state_idE_Z41__static_initialization_and_destruction_0ii_GLOBAL__sub_I_main_ZNSaIiEC5Ev_ZNSaIiED5Ev_ZNSt6vectorIiSaIiEEC5EmRKS0__ZNSt6vectorIiSaIiEED5Ev_ZN9__gnu_cxx13new_allocatorIiEC5Ev_ZN9__gnu_cxx13new_allocatorIiED5Ev_ZNSt12_Vector_baseIiSaIiEE12_Vector_implD5Ev_ZNSt12_Vector_baseIiSaIiEEC5EmRKS0__ZNSt12_Vector_baseIiSaIiEED5Ev_ZNSaIiEC5ERKS__ZNSt12_Vector_baseIiSaIiEE12_Vector_implC5ERKS0__ZN9__gnu_cxx13new_allocatorIiEC5ERKS1__ZNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataC5Ev_ZSt3minImERKT_S2_S2_DW.ref.__gxx_personality_v0_ZSt3cin_GLOBAL_OFFSET_TABLE__ZNSirsERi_ZNSaIiEC1Ev_ZNSt6vectorIiSaIiEEC1EmRKS0__ZNSaIiED1Ev_ZNSt6vectorIiSaIiEEixEm_ZSt3minIiERKT_S2_S2__ZSt4cout_ZNSolsEi_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6__ZNSolsEPFRSoS_E_ZNSt6vectorIiSaIiEED1Ev_Unwind_Resume__stack_chk_fail_ZNSaIiEC2Ev_ZN9__gnu_cxx13new_allocatorIiEC2Ev_ZNSaIiED2Ev_ZN9__gnu_cxx13new_allocatorIiED2Ev_ZNSt6vectorIiSaIiEEC2EmRKS0__ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0__ZNSt12_Vector_baseIiSaIiEEC2EmRKS0__ZNSt6vectorIiSaIiEE21_M_default_initializeEm_ZNSt12_Vector_baseIiSaIiEED2Ev_ZNSt6vectorIiSaIiEED2Ev_ZNSt12_Vector_baseIiSaIiEE19_M_get_Tp_allocatorEv_ZSt8_DestroyIPiiEvT_S1_RSaIT0_E_ZN9__gnu_cxx13new_allocatorIiEC1Ev_ZN9__gnu_cxx13new_allocatorIiED1Ev_ZNSaIiEC1ERKS__ZNSt6vectorIiSaIiEE11_S_max_sizeERKS0__ZSt20__throw_length_errorPKc_ZNSt12_Vector_baseIiSaIiEE12_Vector_implD2Ev_ZNSt12_Vector_baseIiSaIiEE12_Vector_implD1Ev_ZNSt12_Vector_baseIiSaIiEE12_Vector_implC1ERKS0__ZNSt12_Vector_baseIiSaIiEE17_M_create_storageEm_ZNSt12_Vector_baseIiSaIiEEC1EmRKS0__ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim_ZNSt12_Vector_baseIiSaIiEED1Ev_ZSt27__uninitialized_default_n_aIPimiET_S1_T0_RSaIT1_E_ZSt8_DestroyIPiEvT_S1__ZNSt16allocator_traitsISaIiEE8max_sizeERKS0__ZNSaIiEC2ERKS__ZN9__gnu_cxx13new_allocatorIiEC2ERKS1__ZNSt12_Vector_baseIiSaIiEE12_Vector_implC2ERKS0__ZNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataC2Ev_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm_ZNSt16allocator_traitsISaIiEE10deallocateERS0_Pim_ZSt25__uninitialized_default_nIPimET_S1_T0__ZNSt12_Destroy_auxILb1EE9__destroyIPiEEvT_S3__ZNK9__gnu_cxx13new_allocatorIiE8max_sizeEv_ZN9__gnu_cxx13new_allocatorIiEC1ERKS1__ZNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataC1Ev_ZNSt16allocator_traitsISaIiEE8allocateERS0_m_ZN9__gnu_cxx13new_allocatorIiE10deallocateEPim_ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPimEET_S3_T0__ZN9__gnu_cxx13new_allocatorIiE8allocateEmPKv_ZdlPv_ZSt6fill_nIPimiET_S1_T0_RKT1__ZSt17__throw_bad_allocv_Znwm_ZSt12__niter_baseIPiET_S1__ZSt10__fill_n_aIPimiEN9__gnu_cxx11__enable_ifIXsrSt11__is_scalarIT1_E7__valueET_E6__typeES6_T0_RKS4__ZSt12__niter_wrapIPiET_RKS1_S1__ZNSt8ios_base4InitC1Ev__dso_handle_ZNSt8ios_base4InitD1Ev__cxa_atexit,1=_kw"DSg %h&Fdo	1=G*Rv*
%4alNSZah*p,ATit5A3?R]Dbz(;P[>J5'5Lc##/#2'#*+'( =Q 0@ 6Hw K`i2B 4!T"t#$%&F'	R$(D)d*+,-./$0D1d234567$8D9d:;<=>?$@DAd*w.symtab.strtab.shstrtab.rela.text.data.bss.text._ZSt3minImERKT_S2_S2_.rodata.gcc_except_table.rela.text._ZNSaIiEC2Ev.rela.text._ZNSaIiED2Ev.rela.text._ZNSt6vectorIiSaIiEEC2EmRKS0_.rela.text._ZNSt6vectorIiSaIiEED2Ev.text._ZNSt6vectorIiSaIiEEixEm.text._ZSt3minIiERKT_S2_S2_.text._ZN9__gnu_cxx13new_allocatorIiEC2Ev.text._ZN9__gnu_cxx13new_allocatorIiED2Ev.rela.text._ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.rela.text._ZNSt12_Vector_baseIiSaIiEE12_Vector_implD2Ev.rela.text._ZNSt12_Vector_baseIiSaIiEEC2EmRKS0_.rela.text._ZNSt12_Vector_baseIiSaIiEED2Ev.rela.text._ZNSt6vectorIiSaIiEE21_M_default_initializeEm.text._ZNSt12_Vector_baseIiSaIiEE19_M_get_Tp_allocatorEv.rela.text._ZSt8_DestroyIPiiEvT_S1_RSaIT0_E.rela.text._ZNSt6vectorIiSaIiEE11_S_max_sizeERKS0_.rela.text._ZNSaIiEC2ERKS_.rela.text._ZNSt12_Vector_baseIiSaIiEE12_Vector_implC2ERKS0_.rela.text._ZNSt12_Vector_baseIiSaIiEE17_M_create_storageEm.rela.text._ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.rela.text._ZSt27__uninitialized_default_n_aIPimiET_S1_T0_RSaIT1_E.rela.text._ZSt8_DestroyIPiEvT_S1_.rela.text._ZNSt16allocator_traitsISaIiEE8max_sizeERKS0_.text._ZN9__gnu_cxx13new_allocatorIiEC2ERKS1_.text._ZNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataC2Ev.rela.text._ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.rela.text._ZNSt16allocator_traitsISaIiEE10deallocateERS0_Pim.rela.text._ZSt25__uninitialized_default_nIPimET_S1_T0_.text._ZNSt12_Destroy_auxILb1EE9__destroyIPiEEvT_S3_.text._ZNK9__gnu_cxx13new_allocatorIiE8max_sizeEv.rela.text._ZNSt16allocator_traitsISaIiEE8allocateERS0_m.rela.text._ZN9__gnu_cxx13new_allocatorIiE10deallocateEPim.rela.text._ZNSt27__uninitialized_default_n_1ILb1EE18__uninit_default_nIPimEET_S3_T0_.rela.text._ZN9__gnu_cxx13new_allocatorIiE8allocateEmPKv.rela.text._ZSt6fill_nIPimiET_S1_T0_RKT1_.text._ZSt12__niter_baseIPiET_S1_.text._ZSt10__fill_n_aIPimiEN9__gnu_cxx11__enable_ifIXsrSt11__is_scalarIT1_E7__valueET_E6__typeES6_T0_RKS4_.text._ZSt12__niter_wrapIPiET_RKS1_S1_.rela.init_array.rela.data.rel.local.DW.ref.__gxx_personality_v0.comment.note.GNU-stack.note.gnu.property.rela.eh_frame.groupX@yXHyIXTyJX`yKXlyLXxyXyXyMXyNXyXyOXyPXyQXyXyXyXyXyRXySXyXyX$yX0yX<yXHyTXPyUXXyXdyXpyX|yXyXyXyXyXyXyXyXyXyXy @X8y)&|,|1|/MyU)	Vl	g@ @y0	@8@y2	@P@xy4@
H@@Hy6
$
,
I
x
s@Ay<|@Ay>f@A`y@Q@B0yBFTDA@HB0yDz.@xByGi@BHyIB
*@ByK2l
6-@B0yMo
Zj@ CyO
9@8CyQ5-@PCyS(b*#@hCyUKF@CyW27@Cy[!'2@Cy]_Y-Z@Cy_.@Cyc7&2@CyerWm@D0yg^G@@DHyiN@DHyk&HGLh@Dypp@Dyr0x+&6 NI@Eywhz	(*)I_PK
~JJmain.cppPK
~pppmain.oPKjts
Forditási hiba
exit status 1
main.cpp:1:3: error: stray ‘\3’ in program
    1 | PK
      |   ^
main.cpp:1:4: error: stray ‘\4’ in program
    1 | PK
      |    ^
main.cpp:2:1: warning: null character(s) ignored
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      | ^
main.cpp:2:9: error: stray ‘\377’ in program
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      |         ^
main.cpp:2:10: error: stray ‘\5’ in program
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      |          ^
main.cpp:2:11: error: stray ‘\254’ in program
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      |           ^
main.cpp:2:12: error: stray ‘\214’ in program
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      |            ^
main.cpp:2:13: error: stray ‘\343’ in program
    2 |        ~����J  J     main.cpp#include <bits/stdc++.h>
      |             ^
main.cpp:2:15: error: stray ‘\2’ in program
    2 |        ~����J  J ...