Borderou de evaluare (job #773104)

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 16:10:55 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:30:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 30 | for (x=1;x<=26;x++) | ^~~ main.cpp:32:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 32 | g<<char (pozmin+'A'-1)<<endl; | ^ main.cpp:15: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=] 15 | ch[x]=ch[x-1]; | ~~~~~^~~~~~~~ main.cpp:10:10: note: 'ch' declared here 10 | char ch[30],cod[2001]; | ^~ main.cpp:26: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=] 26 | cod[x]=cod[x-1]; | ~~~~~~^~~~~~~~~ main.cpp:10:17: note: 'cod' declared here 10 | char ch[30],cod[2001]; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 266 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100