Borderou de evaluare (job #2826361)
Utilizator | Data | 5 ianuarie 2022 11:42:26 | |
---|---|---|---|
Problema | Tigri | Status | done |
Runda | Algoritmiada 2022 Runda 1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:23:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (j=0;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:35:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (j=1;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:40:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (j=0;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:48:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (j=1;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:53:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
53 | for (j=0;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:73:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
73 | for (j=1;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:78:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
78 | for (j=0;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:86:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
86 | for (j=1;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:91:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (j=0;j<=strlen(p)-1;j++)
| ~^~~~~~~~~~~~~
main.cpp:10:36: warning: unused variable 'ok' [-Wunused-variable]
10 | long long N,i,j,nr,nr1=0,nr2=0,ok,ok1,ok2,balanta=0,tigri=0;
| ^~
main.cpp:104:1: error: expected '}' at end of input
104 | }
| ^
main.cpp:9:1: note: to match this '{'
9 | {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !