Borderou de evaluare (job #2962579)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 8 ianuarie 2023 19:03:36
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int prefix(char*, int)': main.cpp:26:10: warning: unused variable 'bestk' [-Wunused-variable] 26 | int k, bestk = 0; | ^~~~~ main.cpp: In function 'bool inside(int, int)': main.cpp:56:7: warning: unused variable 'aux' [-Wunused-variable] 56 | int aux = prefix(s[ind2], l2); // calculez functia prefix pentru sirul ind2 | ^~~ main.cpp: In function 'int main()': main.cpp:87:13: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30005]' [-Wformat=] 87 | scanf("%s", &s[i]); | ~^ ~~~~~ | | | | | char (*)[30005] | char* main.cpp:130:19: warning: unused variable 'lj' [-Wunused-variable] 130 | int lj = l[j]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK!10
20ms184kbOK!10
30ms184kbOK!10
40ms184kbOK!10
50ms184kbOK!10
60ms184kbOK!10
735ms1695kbOK!10
8107ms10735kbOK!10
945ms1798kbOK!10
10167ms20746kbOK!10
Punctaj total100

Ceva nu functioneaza?