Borderou de evaluare (job #2591657)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 30 martie 2020 21:51:58
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int prefix(char*, int)': main.cpp:16:10: warning: unused variable 'bestk' [-Wunused-variable] int k, bestk = 0; ^~~~~ main.cpp: In function 'bool inside(int, int)': main.cpp:42:7: warning: unused variable 'aux' [-Wunused-variable] int aux = prefix(s[ind2], l2), k = 0; ^~~ main.cpp: In function 'int main()': main.cpp:68:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30005]' [-Wformat=] scanf("%s", &s[i]); ^ main.cpp:90:32: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] p[li + lj + 1] = NULL; ^~~~ main.cpp:62:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("adn.in", "r", stdin); ^ main.cpp:63:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("adn.out", "w", stdout); ^ main.cpp:66:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ main.cpp:68:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK!10
24ms393kbOK!10
310ms249kbOK!10
49ms393kbOK!10
5150ms520kbOK!10
6596ms786kbOK!10
759ms524kbKilled by Signal 110
869ms524kbKilled by Signal 110
954ms917kbKilled by Signal 110
1091ms872kbKilled by Signal 110
Punctaj total60

Ceva nu functioneaza?