Borderou de evaluare (job #614752)

Utilizator avatar Alex_Hossu Alexandru Hossu Alex_Hossu IP ascuns
Problemă Inpostfix (clasa a 10-a) Compilator cpp-32
Rundă Concurs IQ Academy | Clasa a 10-a | Șiruri de caractere Status evaluat
Dată 7 nov. 2021 14:13:35 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void calc(int)': main.cpp:68:24: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 68 | oper2 = s[i - 1]; | ~~~~~~~^ main.cpp:5:6: note: while referencing 's' 5 | char s[MAX_S]; | ^ main.cpp:70:18: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 70 | rez[i - 1] = oper2; | ~~~~~~~~~^ main.cpp:6:6: note: while referencing 'rez' 6 | char rez[MAX_S]; | ^~~ main.cpp:34:24: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 34 | oper2 = s[i - 1]; | ~~~~~~~^ main.cpp:5:6: note: while referencing 's' 5 | char s[MAX_S]; | ^ main.cpp:36:18: warning: array subscript -1 is below array bounds of 'char [100000]' [-Warray-bounds] 36 | rez[i - 1] = oper1; | ~~~~~~~~~^ main.cpp:6:6: note: while referencing 'rez' 6 | char rez[MAX_S]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Killed by Signal 11 0
2 7 ms 2879 kb Killed by Signal 11 0
3 8 ms 3670 kb Killed by Signal 11 0
4 1 ms 1830 kb Killed by Signal 11 0
5 1 ms 131 kb Killed by Signal 11 0
6 1 ms 131 kb Killed by Signal 11 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
11 1 ms 131 kb Killed by Signal 11 0
12 1 ms 131 kb Incorect 0
13 1 ms 131 kb Killed by Signal 11 0
14 1 ms 131 kb Incorect 0
15 11 ms 4194 kb Memory limit exceeded 0
16 1 ms 131 kb Incorect 0
17 1 ms 1835 kb Killed by Signal 11 0
18 12 ms 4194 kb Memory limit exceeded 0
19 2 ms 131 kb Killed by Signal 11 0
20 7 ms 3534 kb Killed by Signal 11 0
Punctaj total 0