Pagini recente » Borderou de evaluare (job #1629242) | Borderou de evaluare (job #1557208) | Borderou de evaluare (job #41711) | Borderou de evaluare (job #2568772) | Borderou de evaluare (job #2984953)
Borderou de evaluare (job #2984953)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0;i<strlen(s);i++)
| ~^~~~~~~~~~
main.cpp:20:23: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | ap[s[i]]++;
| ~~~^
main.cpp:21:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int i=0;i<strlen(t);i++)
| ~^~~~~~~~~~
main.cpp:22:22: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | p[t[i]]++;
| ~~~^
main.cpp:23:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<strlen(s);i++){
| ~^~~~~~~~~~
main.cpp:24:26: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(ap[s[i]]==p[s[i]]/2){
| ~~~^
main.cpp:24:35: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(ap[s[i]]==p[s[i]]/2){
| ~~~^
main.cpp:26:27: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | ap[s[i]]=1;
| ~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 100 |
Punctaj total | 100 |