Pagini recente » Borderou de evaluare (job #3234007) | Borderou de evaluare (job #2356269) | Borderou de evaluare (job #2741463) | Borderou de evaluare (job #436842) | Borderou de evaluare (job #3275758)
Borderou de evaluare (job #3275758)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(i=0; i<strlen(s); ++i)
| ~^~~~~~~~~~
main.cpp:20:19: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | f1[s[i]]++;
| ~~~^
main.cpp:21:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(i=0; i<strlen(t); ++i)
| ~^~~~~~~~~~
main.cpp:22:19: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | f2[t[i]]++;
| ~~~^
main.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(i=0; i<strlen(s); ++i)
| ~^~~~~~~~~~
main.cpp:24:21: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(c[s[i]]==0)
| ~~~^
main.cpp:26:26: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | if(f1[s[i]]!=f2[s[i]])cnt++;
| ~~~^
main.cpp:26:36: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | if(f1[s[i]]!=f2[s[i]])cnt++;
| ~~~^
main.cpp:27:22: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | c[s[i]]=1;
| ~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 100 |
Punctaj total | 100 |