Borderou de evaluare (job #818908)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Iepurași 1 (clasa a 5-a) | Compilator | cpp-32 |
| Rundă | Status | evaluat | |
| Dată | 6 apr. 2025 16:02:15 | Scor | ascuns |
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
13 | for(i=1;i<=n;i++)
| ~^~~
main.cpp:55:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
55 | for(i=1;i<=n;i++)
| ~^~~
main.cpp:57:14: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
57 | for(j=1;j<=n;j++)if(a[j]<a[i])k++;
| ~^~~
main.cpp:64:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
64 | for(j=1;j<=n;j++)
| ~^~~
main.cpp:66:13: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
66 | if(b[j]!=n-j+1) {;p=j;break;}
| ~~~~^~~~~~~
main.cpp:75:10: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
75 | for(i=1;i<=n; i++)
| ~^~~
main.cpp:76:8: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
76 | if(b[i]!=n-i+1)
| ~~~~^~~~~~~
main.cpp:80:33: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
80 | {rez++;k=0; for(j=p2;j>=p1; j--) {k++;d[k]=b[j];} }
| ~^~~~
main.cpp:83:21: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
83 | for(j=p2;j<=n; j++){k++;d[k]=b[j];}
| ~^~~
main.cpp:84:23: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
84 | for(j=p2-1;j>=p1; j--){k++;d[k]=b[j];}
| ~^~~~