Borderou de evaluare (job #3367487)

Utilizator MateiDiaconuDiaconu Matei Stefan MateiDiaconu Data 8 octombrie 2026 11:10:29
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'char popOperator()': main.cpp:81:30: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 81 | return operatii[--opIndex]; | ~~~~~~~~~~~~~~~~~~^ main.cpp:12:6: note: while referencing 'operatii' 12 | char operatii[MAXS]; | ^~~~~~~~ main.cpp: In function 'int popFactor()': main.cpp:88:31: warning: array subscript -1 is below array bounds of 'int [100000]' [-Warray-bounds] 88 | return factori[--factIndex]; | ~~~~~~~~~~~~~~~~~~~^ main.cpp:15:5: note: while referencing 'factori' 15 | int factori[MAXS]; | ^~~~~~~ In function 'int popFactor()', inlined from 'void computeLast()' at main.cpp:103:18: main.cpp:88:31: warning: array subscript -1 is below array bounds of 'int [100000]' [-Warray-bounds] 88 | return factori[--factIndex]; | ~~~~~~~~~~~~~~~~~~~^ main.cpp: In function 'void computeLast()': main.cpp:15:5: note: while referencing 'factori' 15 | int factori[MAXS]; | ^~~~~~~ In function 'int popFactor()', inlined from 'void computeLast()' at main.cpp:104:18: main.cpp:88:31: warning: array subscript -1 is below array bounds of 'int [100000]' [-Warray-bounds] 88 | return factori[--factIndex]; | ~~~~~~~~~~~~~~~~~~~^ main.cpp: In function 'void computeLast()': main.cpp:15:5: note: while referencing 'factori' 15 | int factori[MAXS]; | ^~~~~~~ In function 'char popOperator()', inlined from 'void computeLast()' at main.cpp:105:41: main.cpp:81:30: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 81 | return operatii[--opIndex]; | ~~~~~~~~~~~~~~~~~~^ main.cpp: In function 'void computeLast()': main.cpp:12:6: note: while referencing 'operatii' 12 | char operatii[MAXS]; | ^~~~~~~~ In function 'int popFactor()', inlined from 'int main()' at main.cpp:147:12: main.cpp:88:31: warning: array subscript -1 is below array bounds of 'int [100000]' [-Warray-bounds] 88 | return factori[--factIndex]; | ~~~~~~~~~~~~~~~~~~~^ main.cpp: In function 'int main()': main.cpp:15:5: note: while referencing 'factori' 15 | int factori[MAXS]; | ^~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
111ms1015kbKilled by Signal 110
210ms1007kbKilled by Signal 110
310ms1019kbKilled by Signal 110
410ms1007kbKilled by Signal 110
510ms1011kbKilled by Signal 110
611ms1011kbKilled by Signal 110
710ms1011kbKilled by Signal 110
810ms1007kbKilled by Signal 110
910ms1011kbKilled by Signal 110
1010ms1007kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?