Borderou de evaluare (job #3153513)

Utilizator rarest@yahoo.comtorcea rares [email protected] Data 29 septembrie 2023 23:46:52
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 34 | for(j=0;j<strlen(c);j++) | ~^~~~~~~~~~ main.cpp:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 44 | for(j=0;j<strlen(c);j++) | ~^~~~~~~~~~ main.cpp:75:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 75 | for(j=pozitie;j<strlen(c);j++) | ~^~~~~~~~~~ main.cpp:77:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 77 | if(c[j]=='+' || (j==strlen(c)-1)) | ~^~~~~~~~~~~~~ main.cpp:79:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 79 | if(j==strlen(c)-1) | ~^~~~~~~~~~~~~ main.cpp:105:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 105 | for(q=0;q<strlen(c);q++) | ~^~~~~~~~~~ main.cpp:119:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 119 | for(j=0;j<strlen(mat[i]);j++) | ~^~~~~~~~~~~~~~~ main.cpp:139:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 139 | for(j=0;j<strlen(mat[i]);j++) | ~^~~~~~~~~~~~~~~ main.cpp:171:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 171 | for(j=0;j<strlen(mat[i]);j++) | ~^~~~~~~~~~~~~~~ main.cpp:174:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 174 | for(j=0;j<strlen(c2);j++) | ~^~~~~~~~~~~ main.cpp:176:44: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 176 | if(c2[j]=='+' || (j==strlen(c2)-1 && nrplus==0) || c2[j]=='=') | ~^~~~~~~~~~~~~~ main.cpp:138:21: warning: unused variable 'pozitie' [-Wunused-variable] 138 | int pozitie; | ^~~~~~~ main.cpp:172:40: warning: 'poz2' may be used uninitialized [-Wmaybe-uninitialized] 172 | if(j<=poz1 || j>poz2) | ~^~~~~ main.cpp:116:26: note: 'poz2' was declared here 116 | int poz1,poz2; | ^~~~ main.cpp:172:29: warning: 'poz1' may be used uninitialized [-Wmaybe-uninitialized] 172 | if(j<=poz1 || j>poz2) | ~^~~~~~ main.cpp:116:21: note: 'poz1' was declared here 116 | int poz1,poz2; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbOK10
554ms303kbTime limit exceeded0
654ms303kbTime limit exceeded0
74ms450kbKilled by Signal 110
84ms446kbKilled by Signal 110
94ms524kbKilled by Signal 110
104ms524kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?