Borderou de evaluare (job #773033)

Utilizator avatar inforatica1210 Petre Alexia inforatica1210 IP ascuns
Problemă Mesaj1 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2024 11:45:20 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 29 | for (x=1;x<=26;x++) | ^~~ main.cpp:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 31 | g<<char (pozmin+'A'-1)<<endl; | ^ main.cpp:8:18: warning: variable 'poz' set but not used [-Wunused-but-set-variable] 8 | int p,y,nr,x,poz[30],n,min1,pozmin; | ^~~ main.cpp:14:13: warning: 'void* __builtin_memmove(void*, const void*, unsigned int)' offset -1 is out of the bounds [0, 30] of object 'ch' with type 'char [30]' [-Warray-bounds=] 14 | ch[x]=ch[x-1]; | ~~~~~^~~~~~~~ main.cpp:9:10: note: 'ch' declared here 9 | char ch[30],cod[2001]; | ^~ main.cpp:25:14: warning: 'void* __builtin_memmove(void*, const void*, unsigned int)' offset -1 is out of the bounds [0, 2001] of object 'cod' with type 'char [2001]' [-Warray-bounds=] 25 | cod[x]=cod[x-1]; | ~~~~~~^~~~~~~~~ main.cpp:9:17: note: 'cod' declared here 9 | char ch[30],cod[2001]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 507 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0