Borderou de evaluare (job #2962539)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 8 ianuarie 2023 18:24:49
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:17:10: warning: unused variable 'bestk' [-Wunused-variable] 17 | int k, bestk = 0; | ^~~~~ main.cpp: In function 'bool inside(int, int)': main.cpp:43:7: warning: unused variable 'aux' [-Wunused-variable] 43 | int aux = prefix(s[ind2], l2), k = 0; | ^~~ main.cpp: In function 'int main()': main.cpp:69:13: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30005]' [-Wformat=] 69 | scanf("%s", &s[i]); | ~^ ~~~~~ | | | | | char (*)[30005] | char* main.cpp:102:19: warning: unused variable 'lj' [-Wunused-variable] 102 | int lj = l[j]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms262kbOK!10
20ms184kbOK!10
30ms184kbOK!10
40ms184kbOK!10
50ms184kbOK!10
60ms184kbOK!10
732ms1703kbOK!10
8107ms10801kbOK!10
942ms1867kbOK!10
10167ms20615kbOK!10
Punctaj total100

Ceva nu functioneaza?