Pagini recente » Borderou de evaluare (job #387711) | Borderou de evaluare (job #1796156) | Borderou de evaluare (job #1804540) | Borderou de evaluare (job #2219758) | Borderou de evaluare (job #3290058)
Borderou de evaluare (job #3290058)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:18: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | f[s[i]]++;
| ~~~^
main.cpp:28:25: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | if(f[s[i]]<f[s[i+1]])
| ~~~^
main.cpp:28:35: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | if(f[s[i]]<f[s[i+1]])
| ~~~~~^
main.cpp:17:19: warning: unused variable 'minim' [-Wunused-variable]
17 | int nr=0, minim, nrf=0, nrb=0, f[100]= {0};
| ^~~~~
main.cpp:36:31: warning: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets [0, 1005] and [0, 1005] overlaps 1 byte at offset [0, 1004] [-Wrestrict]
36 | strcpy(s+i, s+i+1);
| ~~~~~~^~~~~~~~~~~~
main.cpp:50:31: warning: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets [0, 1005] and [0, 1005] overlaps 1 byte at offset [0, 1004] [-Wrestrict]
50 | strcpy(s+i+1, s+i+2);
| ~~~~~~^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 502ms | 303kb | Time limit exceeded | 0 |
Punctaj total | 0 |