Borderou de evaluare (job #3290058)

Utilizator anaoaneaOanea Anamaria-Georgiana anaoanea Data 29 martie 2025 12:34:44
Problema Bouncer Status done
Runda Universitatea Tehnică din Cluj-Napoca - 2025 - Concurs Compilator cpp-64 | Vezi sursa
Scor 0

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
1502ms303kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?