Pagini recente » Borderou de evaluare (job #2623982) | Borderou de evaluare (job #1569705) | Borderou de evaluare (job #1120538) | Borderou de evaluare (job #967370) | Borderou de evaluare (job #3346862)
Borderou de evaluare (job #3346862)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i=2;i<strlen(B)&&ok==1;i++){
| ~^~~~~~~~~~
main.cpp:40:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
40 | while(kk==0&&l<strlen(A)){
| ~^~~~~~~~~~
main.cpp:23:14: warning: array subscript 2 is above array bounds of 'char [2]' [-Warray-bounds]
23 | aux[2]='\0';
| ~~~~~^
main.cpp:20:14: note: while referencing 'aux'
20 | char aux[2];
| ^~~
main.cpp:38:17: warning: array subscript 2 is above array bounds of 'char [2]' [-Warray-bounds]
38 | aux[2]='\0';
| ~~~~~^
main.cpp:20:14: note: while referencing 'aux'
20 | char aux[2];
| ^~~
main.cpp:43:17: warning: array subscript 2 is above array bounds of 'char [2]' [-Warray-bounds]
43 | aux[2]='\0';
| ~~~~~^
main.cpp:20:14: note: while referencing 'aux'
20 | char aux[2];
| ^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| Punctaj total | 0 |